我正在查看MvcContrib Grid的源代码,并看到声明为的类:
public class Grid<T> : IGrid<T> where T : class
这位有什么作用where T : class?
where T : class
c#
c# ×1