What are generics? why it is used?
architecture of ASP.NET?

Answer Posted / tak

Generics is a new feature added and shiped with .NET 2.0
and above that solves the type safe related issues. So
using generics reduces the extra work/time between boxing
and unboxing as a result boost performance.Using
Generics ,we will be safe a run time error which will
occure due to type casting problem that we may not see at
compile time...regardless of knowing the type at design
time..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you implement inheritance using c#?

664


What is true about application service provider?

575


How do you declare static variable?

650


What is difference between session and cookie?

611


Describe session handling in a webfarm, how does it work and what are the limits?

674






How to use ipostback?

670


How do we ensure view state has not tampered?

698


How do you hide the columns?

672


Why is an object pool required?

702


How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know

798


Do session use cookies in asp net?

593


How can we create a website?

616


Explain about secure socket layer?

616


Where sessions are stored?

768


What is the difference between a cookie and a pixel?

563