Understand C#: Proper use IDisposable and using keyword(coderjournal.com)
submitted by
zigamorph(3314) 4 years, 4 months ago
Most System.Data, System.IO and System.Windows.Controls objects use the IDisposable interface, as well as many others, to free up unmanaged resources that may have been created when the object was initialized. Unmanaged resources are any calls that are made outside of the .NET environment, this can be GDI+ calls, SQL Driver calls, Disk IO calls, or basically anything that cannot be accounted for by the Garbage Collector.
|category: Architecture
|Views: 270
tags:
IDisposable Architecture C# another
Everyones tags:
Your Tags: