關於IDisposable接口,我相信大家都很熟悉了,下面是微軟官方文檔的介紹:
在C# 8.0中,微軟引入了IAsyncDisposable接口,下面是微軟官方文檔的介紹:
Implement a DisposeAsync method
如何使用IAsyncDisposable接口,可以查看下面的帖子:
What is the difference between using and await using? And how can I decide which one to use?
關於IDisposable接口,我相信大家都很熟悉了,下面是微軟官方文檔的介紹:
在C# 8.0中,微軟引入了IAsyncDisposable接口,下面是微軟官方文檔的介紹:
Implement a DisposeAsync method
如何使用IAsyncDisposable接口,可以查看下面的帖子:
What is the difference between using and await using? And how can I decide which one to use?
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。