Monthly Archives: November 2014

IDispose and Finalize relations in .NET

What is IDispose in .NET? The IDispose interface gives the programmer way to free unmanaged resources and events handlers, in order to avoid memory leaks. For example: public class UnmanagedResourceUser :IDisposable { public void Dispose() { //Free unmanaged resources } … Continue reading

Posted in .NET 4.5 | Tagged | Leave a comment