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

Answer Posted / me

Generics are the type safe data structures that was introduced in .Net 2.0.Following are the benefits of it-

Better Performance: They are better in performance as boxing/unboxing is not required.thus reducing execution cost and time.

Type safety : it gives error at compile time if a data type mismatch is found.

Code reusablity : Same code is reused for various data tyoe like int,string etc.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define static function?

570


In how many ways we can retrieve table records count?

540


What is data binding in asp net?

594


How does session id work?

494


What are ASHX files?

603






Differentiate between file-based dependency and key-based dependency.

514


Why should i prefer JSP over asp.net or any other web development language..??

1449


What is the viewstate in asp.net?

575


Do you know about caching with the datasource controls?

486


What is the main differences between asp and asp.net?

527


How many types of sessions are there in asp net?

526


What is asp.net web pages?

532


what cut off mark for po's,what questions they asked for interview?

1425


Why the javascript validation not run on the asp.net button but run successfully on the html button?

553


What is parse in asp.net?

559