如何实现IDisposable接口 [英] How implement an IDisposable interface
本文介绍了如何实现IDisposable接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请给我一个示例如何实现IDisposable接口。
解决方案
你有没有试过查看MSDN?
IDisposable Interface [ ^ ]
那里有一些非常好的信息。
你可以在下一篇CodeProject文章中找到相关的详细信息:
了解和实现IDisposable界面 - 初学者教程 [ ^ ]
以及MSDN: http://msdn.microsoft.com/en-us/library/system.idisposable(v = vs.110).aspx [ ^ ]
Please give me a Example How implement an IDisposable interface .
解决方案
Did you ever try to look in MSDN?
IDisposable Interface[^]
Some pretty good info there.
You could find details about this in the next CodeProject article:
Understanding and Implementing IDisposable Interface - A Beginner's Tutorial[^]
And also in MSDN: http://msdn.microsoft.com/en-us/library/system.idisposable(v=vs.110).aspx[^]
这篇关于如何实现IDisposable接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文