当前位置:编程学习 > C#/ASP.NET >>

给各位送点分,顺便问个小问题

public sealed class Scope<T> : IDisposable where T : class
{

}
谁能告诉我这种写法是什么意思? --------------------编程问答-------------------- public sealed class Scope<T> : IDisposable where T : class
{

}

继承接口
范性类 其中T为范性参数
where T : class 仿佛是T必须是class类或子类(子类不确定)
sealed 不可继承 密封类

------------------------------------------------------------------------------------
谁给个工作 - -##
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,