阅读背景:

与C#析构函数相关的成本(又名:终结者)?

来源:互联网 

The destructor should only release unmanaged resources that your object holds on to, and it should not reference other objects. If you have only managed references you do not need to (and should not) implement a destructor. You want this only for handling unmanaged resources. The destructor should only release unmanage




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

分享到: