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

Explain how to prepare culture-specific formatting in .net.

537


What is the difference between client-side and server-side validations in ASP.NET?

667


Explain the difference between sql invalidation and sql notification.

559


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

586


What is the procedure to handle the process request using mhpm events fired? : asp.net mvc

546






what are the ihttphandler and ihttphandlerfactory interfaces ?

516


What is manifest in .net framework?

546


What is the difference between Hash table and Array list?

376


What methods are fired during the page load? Init()

522


What are the Types of chaching. How to implement caching

564


What is data reader in asp.net?

503


Which protocol is used in a web api?

568


What is a uri query?

553


What is the state management in asp.net?

556


What is a web pool?

590