Article View: borland.public.csharpbuilder.language.csharp
Article #296IDisposable.Dispose()
From: Steve
Date: Wed, 25 Jan 2006 21:30
Date: Wed, 25 Jan 2006 21:30
5 lines
1109 bytes
1109 bytes
If you instantiate a class that implements IDisposable, then should you call .Dispose() on it? Must you? Should you not? It seems from MSDN that I should .Dispose(), but I am not sure. Some developers I talk to say, "No."
Technical Details
Message-ID:
<43D7EE0E.22B25762@nospam.crowneone.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,812df04fa7082d34,start X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <43D7EE0E.22B25762@nospam.crowneone.com> Date: Wed, 25 Jan 2006 14:30:54 -0700 From: Steve <spam@nospam.crowneone.com> X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.csharpbuilder.language.csharp Subject: IDisposable.Dispose() Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.139.146.154 X-Trace: newsgroups.borland.com 1138224262 67.139.146.154 (25 Jan 2006 13:24:22 -0700) Lines: 5 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail