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 is difference between asp.net and asp.net mvc? : Asp.Net MVC
What is query string with example?
About CLR, reflection and assemblies?
How do you change the session time-out value?
Does web services support data reader like pom project?
How can you implement encapsulation in asp.net?
What is asp.net and its advantages?
How do I use response redirect?
What are app services?
Who can consume WebAPI?
What are the three parts of an http response?
What is the use of data set in asp.net?
What are session state modes in asp.net?
Why would anyone need to implement their own hashtable or linked list?
Explain managed code an un-managed code.