> I found that statement in some book but it does not comply with Framework
> SDK Documentation.
No, dispose merely disposes of some resources(usually unmanaged ones)
> Kamil Dworakowski
Kamil,
No it doesn't.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Kamil,
Any class can implement IDisposable and therefore provide their own Dispose
method. For that matter, they can provide a Dispose method without
implementing IDisposable.
That being said, unless the object's Dispose() is calling GC.Collect(), it
is probably not forcing a garbage collection. It should simply be freeing
up resources (closing files, etc).
Hope this helps.
--
Jeffrey Wynn
sonofsheaf@nospam.net
> I found that statement in some book but it does not comply with Framework
> SDK Documentation.
>
> Kamil Dworakowski