Article View: borland.public.csharpbuilder.language.csharp
Article #629Re: try catch question
From: Marc Rohloff TeamB
Date: Sun, 18 Jul 2004 23:02
Date: Sun, 18 Jul 2004 23:02
14 lines
1745 bytes
1745 bytes
On Sun, 18 Jul 2004 14:30:10 -0600, Joe Mayo wrote: > Sure, Close and Dispose are two different methods, but in the .NET > Framework, Close methods call the Dispose method. That is the pattern, it > is fairly well known by now, and anyone that doesn't follow the Dispose > pattern properly needs to be educated. IMO, the benefits of the "using" > statement in code clarity and maintenance far outweigh the small risk of > someone not implementing thier Dispose pattern properly. Agreed. -- Marc Rohloff [TeamB] marc rohloff at myrealbox dot com
Technical Details
Message-ID:
<1rq6t8sw8gkop$.dlg@marcrohloff.40tude.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40f3748e@newsgroups.borland.com> <40F380DB.819CE161@midnightbeach.com> <40f934bb$1@newsgroups.borland.com> <s3am1jplg0p9$.dlg@marcrohloff.40tude.net> <is0jf0l76g610ajlns5154ij25vantsvp6@4ax.com> <xn0dkx9y9ftcjf013-moderator@newsgroups.borland.com> <40faddbc$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,f80ee75cfac101b9 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Marc Rohloff [TeamB]" <"on request"> Subject: Re: try catch question Newsgroups: borland.public.csharpbuilder.language.csharp User-Agent: 40tude_Dialog/2.0.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <40f3748e@newsgroups.borland.com> <40F380DB.819CE161@midnightbeach.com> <40f934bb$1@newsgroups.borland.com> <s3am1jplg0p9$.dlg@marcrohloff.40tude.net> <is0jf0l76g610ajlns5154ij25vantsvp6@4ax.com> <xn0dkx9y9ftcjf013-moderator@newsgroups.borland.com> <40faddbc$1@newsgroups.borland.com> Date: Sun, 18 Jul 2004 19:02:03 -0400 Message-ID: <1rq6t8sw8gkop$.dlg@marcrohloff.40tude.net> NNTP-Posting-Host: 4.225.103.186 X-Trace: newsgroups.borland.com 1090191613 4.225.103.186 (18 Jul 2004 16:00:13 -0700) Lines: 14 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail