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

Answer Posted / jyoti

Generics provide the solution to a limitation in earlier
versions of the common language runtime and the C# language
in which generalization is accomplished by casting types to
and from the universal base type Object. By creating a
generic class, you can create a collection that is type-
safe at compile-time.increases the
performance.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are validators and list some validators of asp.net?

537


Why is xap important?

594


What are early binding and late binding.

564


In which event of page cycle is the viewstate available?

574


What is Bundling and Minification in MVC?

578






Explain the difference between dataset and datareader.

528


What is the parent class of all the web server control?

483


Where the cookie value is stored?

509


What do you understand by aggregate dependency?

612


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

1866


List down the sequence of methods called during the page load.

522


Please brief not about xsd,xslt & xml?

542


What is HTTPModule and HTTPcontext? What is the use of each?

1986


What is the difference between Hash table and Array list?

369


I’m having some trouble with cas. How can I diagnose my problem?

589