Proper use of the IDisposable interface

后端 未结 19 3266
情深已故
情深已故 2020-11-21 04:05

I know from reading the Microsoft documentation that the \"primary\" use of the IDisposable interface is to clean up unmanaged resources.

To me, \"unman

相关标签:
19条回答
  • 2020-11-21 05:07

    IDisposable is good for unsubscribing from events.

    0 讨论(0)
提交回复
热议问题