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

Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

528


What are session state modes? List some of the important session state modes of asp.net.

533


What is the difference between visual basic and asp.net?

520


Is razor a programming language?

529


What is custom events?

567






What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?

578


How does viewstate work?

572


What is the concepts of globalization and localization in .net?

528


How you will manage the state of ASP.NET controls?

568


What is asp.net and ado net?

516


What is the difference between mechine.config and web.config?

734


What are the disadvantages of view state?

595


Define static function?

570


Explain MVC model binders?

596


Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

1715