C#.NET Code Snippets

Generics in .NET with Example
Generics is a new concept in .net 2005 and this is similar to templates in C++. By using generics, you can create generic methods and generic classes.
Multiple Generic Types C#
You can pass more than one type of parameter to a generic method. In this case generic method has to be created with more than one type.
Generic Class in C#
Generic Class is a class whose instances can work on different types of data. Not only methods classes also can be created as generic classes.
Comparison of Generic Types in .NET
Generic type will be treated as a user defined type and hence operators like >,<,>= and <= will not work on generic types.