Click here to Skip to main content
15,886,362 members
Articles / Mobile Apps

Implementing IDisposable and the Dispose Pattern Properly

Rate me:
Please Sign up or sign in to vote.
4.92/5 (146 votes)
30 Dec 2007CPOL21 min read 761.7K   375  
Explains how to properly implement the IDisposable interface, the Dispose Pattern, and deterministic finalization.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I am a Microsoft C# MVP, author, speaker, blogger, and software developer. I also created the WP Requests and WinStore Requests sites for Windows Phone and Windows Sotre apps as well as several open source projects.

I've been involved with computers in one way or another for as long as I can remember, but started professionally in 1993. Although my primary focus right now is commercial software applications, I prefer building infrastructure components, reusable shared libraries and helping companies define, develop and automate process and code standards and guidelines.

Comments and Discussions