What are generics? why it is used?
architecture of ASP.NET?
Answer Posted / me
Generics are the type safe data structures that was introduced in .Net 2.0.Following are the benefits of it-
Better Performance: They are better in performance as boxing/unboxing is not required.thus reducing execution cost and time.
Type safety : it gives error at compile time if a data type mismatch is found.
Code reusablity : Same code is reused for various data tyoe like int,string etc.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are asp.net web forms?
How you will handle session when deploying application in more than a server?
Why select Web API?
Is asp.net easy to learn?
To load your generated dataset with data which method do you invoke?
Why we are using mvc instead of asp.net? : Asp.Net MVC
What is the use of execute non query in asp.net?
What do you mean by query string?
Explain difference between friend and protected friend?
What are themes and skins in 2.0, explain usage scenario?
What is s2s tracking?
Can you explain the importance of finalize method in .net?
Which authentication uses a combination of windows and iis authentication?
What is the behavior of a Web browser when it receives an invalid element?
What are validators and list some validators of asp.net?