Using Generics in C#
page 7 of 7
by Joydip Kanjilal
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 45985/ 92

Conclusion

C# is a type safe language. This implies that an object should have its type defined prior to an assignment of any value to it. Generics, also known as parameterized types or parametric polymorphism, allow us to have type parameters on our types. These generic types are assigned to a specific type at the time of instantiation of the type at runtime. This deferred instantiation of a generic type and its late binding to a specific type promotes its usage on any type. This article has discussed Generics with code illustrations wherever necessary. Happy reading!


View Entire Article

User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2021 ASPAlliance.com  |  Page Processed at 2021-12-05 12:54:42 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search