摘要:
The standard dispose idiom frees your unmanaged resorces using the IDisposable interface when clients remember,and it uses the finalizer defensively when clients forget.所以要为你的类添加 析构函数 以及 实现IDispose接口。... 阅读全文
摘要:
The standard dispose idiom frees your unmanaged resorces using the IDisposable interface when clients remember,and it uses the finalizer defensively when clients forget.所以要为你的类添加 析构函数 以及 实现IDispose接口。... 阅读全文
|