Skip to main content

31 posts tagged with "C#"

View All Tags

Who calls Dispose in .NET and how Finalization works in .NET

Cleaning up resources in .NET after use is essential to make efficient use of memory and avoid memory leaks. It is even more important when you are making use of unmanaged resources and cleaning up using dispose pattern is efficient than relying on finalization.