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


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-2024  |  Page Processed at 2024-05-18 10:47:31 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search