Article View: borland.public.csharpbuilder.language.csharp
Article #27Re: Boxing and unboxing
From: Marc Rohloff TeamB
Date: Sat, 06 May 2006 02:16
Date: Sat, 06 May 2006 02:16
10 lines
1532 bytes
1532 bytes
On Fri, 5 May 2006 23:18:35 +0100, Joanna Carter [TeamB] wrote: > Neither is there any real penalty in casting from object to a class. There is no penalty in the downcast (to object), however the cast back to a Dataset requires a type check which is fairly costly (although not as costly as true unboxing) -- Marc Rohloff [TeamB] marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID:
<16i3bfc9nqjks.dlg@dlg.marcrohloff.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<445bb0fa@newsgroups.borland.com> <445bcf41@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,17b83a1499eb2170 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Marc Rohloff [TeamB]" <"on request"> Subject: Re: Boxing and unboxing Newsgroups: borland.public.csharpbuilder.language.csharp User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <445bb0fa@newsgroups.borland.com> <445bcf41@newsgroups.borland.com> Date: Fri, 5 May 2006 22:16:01 -0400 Message-ID: <16i3bfc9nqjks.dlg@dlg.marcrohloff.com> X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR X-Antivirus: avast! (VPS 0618-3, 05/05/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 65.31.1.121 X-Trace: newsgroups.borland.com 1146881759 65.31.1.121 (5 May 2006 19:15:59 -0700) Lines: 10 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail