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 a global postback url?
What is asp.net web pages?
Where would you use an ihttpmodule, and what are the limitations if any?
In which event of the page life cycle, is the viewstate available?
How would you implement inheritance using c#?
What are session and cookies?
Do you know about caching with the datasource controls?
List the types of authentication supported by asp.net?
What is client side state management?
If you are using components in your application, how can you handle exceptions raised in a component?
What is the use of ASP.NET routing?
What is asp net objects?
If 200 is for all successful operation then why do we have 201 response codes?
How can we access static variable?
Explain the use of resource manager class in .net.