Contents tagged with Generics
-
Implementing Sorting in Generic List (List<T>)
How to sort a generic list? Well, generic list provides a sort method itself in the form List<T>.Sort(). But wait a sec. This method requires you to implement sorting mechanism in your type. … more