Article View: borland.public.csharpbuilder.language.csharp
Article #663Re: IDisposable - When?
From: Jon Shemitz
Date: Fri, 17 Sep 2004 18:43
Date: Fri, 17 Sep 2004 18:43
19 lines
1534 bytes
1534 bytes
Theo Bebekis wrote: > When do I have to implement IDisposable? What Joe said. > Implementing the above hierarchy in Delphi (<=7) seems so easy to me. > Just a couple of TLists or -better- TObjectLists and done. > Now what? ArrayList in the System.Collections namespace does everything TList / TObjectList does, and can store any datatype. A Hashtable can associate any object with a string (or with any other sort of key, actually) and lookup is much faster than with TStringList. -- programmer, author http://www.midnightbeach.com and father http://www.midnightbeach.com/hs
Technical Details
Message-ID:
<414B306C.C9E928DE@midnightbeach.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<414ac1ca@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,b3e8021b863a6f6b X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <414B306C.C9E928DE@midnightbeach.com> Date: Fri, 17 Sep 2004 11:43:56 -0700 From: Jon Shemitz <jon@midnightbeach.com> Reply-To: jon@midnightbeach.com Organization: Midnight Beach X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en-US,en MIME-Version: 1.0 Newsgroups: borland.public.csharpbuilder.language.csharp Subject: Re: IDisposable - When? References: <414ac1ca@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.249.65.27 X-Trace: newsgroups.borland.com 1095446643 63.249.65.27 (17 Sep 2004 11:44:03 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail