I\'m looking at the source code for the MvcContrib Grid and see the class declared as:
public class Grid : IGrid where T : class
you can apply restrictions to the kinds of types that client code can use for type arguments when it instantiates your class are called as Constraints on Type Parameters
E.g : where T : class
Here where T is the Type , The type argument must be a reference type; this applies also to any class, interface, delegate, or array type.