阅读背景:

是否可以在C#中强制使用using语句

来源:互联网 

Would really like to be able to decorate my class with an attribute of some sort that would enforce the use of a using statement so that the class will always be safely disposed and avoid memory leaks. Anyone know of such a technique?Would really like to be able to decorate my cla




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: