Lubomir,
If the class doesn't implement the IDisposable interface, then I
wouldn't worry about it. If it does, then I would make sure to call the
Dispose implementation as soon as possible.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Lubomir" <Lu*****@discussions.microsoft.comwrote in message
news:41**********************************@microsof t.com...
Hi,
The unmanaged resources should be cleaned up by the source code directly,
like for example database connection.
I am wondering how to distinguish between managed and unmanaged resources,
how to decide what is managed and what is unmanaged resource? For example
SQLDependency object is managed or unmanaged resource?
Thanks,
Lubomir