Home | Articles|Namespace|Interview Questions|Tools|Jobs|Projects|Community
Asp.net Tutorials

»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books

»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects

»Competition
Community
Winners
Prizes
Write For Us
Members

»Other Resources
Links
Dotnet Resources

Question
What are generics in C#
uyyyyyyyy
generic are List<>
generic are List<>
generics are list
Actually, Generics are special type of collection which stores only particular Datatype objects. Example: List<> l=new List<>. Between <> We Put the class name which we want to use. It Differs from ArrayList, because In an ArrayList we can stores multiple Data Type Object.Which will sometimes difficult when we get values using loops of particular datatype. Regards: Danish Jaffery http://danishssuet.brinkster.net
test
Generics are generic data type but still user can use them in type safe manner.

Answer Question


© 2008 dotnetwatch.com -- Privacy policy

Website Design & Internet Marketing by Shivam