The primary use of IDisposable interface [duplicate]
Possible Duplicate: Proper use of the IDisposable interface "IDisposable Interface" article tells: The primary use of this interface is to release unmanaged resources Why? Why only unmanaged? Whole my life I thought its PRIMIRALY use is to release ANY resources: managed (connections to DBs, services proxies, etc) and unmanaged (if they are used in application). P.S. I believe there are already questions on this topic, but can't find them. David Hoerster The underlying connections to db's are not managed, as are file handles and a number of other low-level o/s objects. They are unmanaged.