🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #622

Re: try catch question

#622
From: Rudy Velthuis [TeamB]
Date: Sun, 18 Jul 2004 17:05
19 lines
1887 bytes
At 21:53:14, 17.07.2004, Lord Crc wrote:

> On Sat, 17 Jul 2004 11:23:16 -0400, "Marc Rohloff [TeamB]" <"on
> request"> wrote:
> 
> > It is also incorrect.
> 
> Why not use "using" ? it's SOOO nice for these type things.

We discussed this before. Using calls IDispose.Dispose(), and not
Close(). Technically there may be no big difference, but semantically,
there is. I personally would not rely on the fact that both would do
exactly the same, since both (or a descendant class) don't *have* to do
exactly the same.
-- 
Rudy Velthuis [TeamB]

"I'm not going to get into the ring with Tolstoy."
    - Ernest Hemingway (1899-1961)
Technical Details
Message-ID: <xn0dkx9y9ftcjf013-moderator@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40f3748e@newsgroups.borland.com> <40F380DB.819CE161@midnightbeach.com> <40f934bb$1@newsgroups.borland.com> <s3am1jplg0p9$.dlg@marcrohloff.40tude.net> <is0jf0l76g610ajlns5154ij25vantsvp6@4ax.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: "Rudy Velthuis [TeamB]" <velthuis@gmail.com>
Subject: Re: try catch question
Newsgroups: borland.public.csharpbuilder.language.csharp
References: <40f3748e@newsgroups.borland.com> <40F380DB.819CE161@midnightbeach.com> <40f934bb$1@newsgroups.borland.com> <s3am1jplg0p9$.dlg@marcrohloff.40tude.net> <is0jf0l76g610ajlns5154ij25vantsvp6@4ax.com>
Organization: TeamB
User-Agent: XanaNews/1.16.3.1
Date: Sun, 18 Jul 2004 19:05:03 +0200
Message-ID: <xn0dkx9y9ftcjf013-moderator@newsgroups.borland.com>
X-Realname: Rudy Velthuis (TeamB)
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr
 p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
X-Ref: newsgroups.borland.com ~XNS:00003F7D
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 80.135.216.214
X-Trace: newsgroups.borland.com 1090170017 80.135.216.214 (18 Jul 2004 10:00:17 -0700)
Lines: 19
X-Authenticated-User: rvelthuis
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail