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

Answer Posted / krishna rathi

Generica provide type parameters T for class , interfaces,
delagates or methods.
By using generic type parameter T their
is less need of boxing / un boxing in client code.

Example : public class Genericlist <T>{
}

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cross page posting in asp net?

540


What is odata in web api?

567


What does it mean your session has timed out?

533


Explain how can we access static variable?

553


What is anonymous authentication?

589






What is _viewstart?

510


Do I need to have the latest version of windows media player installed?

517


Which control has default post back is enabled(true)?

611


Why do we need Sessions?

583


What is a runtime version?

535


How to rename a table using sql queries?

572


What is class and object in asp.net?

495


Explain server-side scripting?

574


What is form method?

499


How do you do Client-side validation in .Net?

580