Article View: borland.public.csharpbuilder.language.csharp
Article #28Re: Boxing and unboxing
From: Joanna Carter [TeamB]
Date: Sat, 06 May 2006 08:06
Date: Sat, 06 May 2006 08:06
15 lines
1473 bytes
1473 bytes
"Marc Rohloff [TeamB]" <"on request"> a οΏ½crit dans le message de news: 16i3bfc9nqjks.dlg@dlg.marcrohloff.com... | > 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) Thanks for clarifying that. Joanna -- Joanna Carter [TeamB] Consultant Software Engineer
Technical Details
Message-ID:
<445c58fd$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!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> <16i3bfc9nqjks.dlg@dlg.marcrohloff.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,17b83a1499eb2170 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII From: "Joanna Carter [TeamB]" <joanna@not.for.spam> Newsgroups: borland.public.csharpbuilder.language.csharp References: <445bb0fa@newsgroups.borland.com> <445bcf41@newsgroups.borland.com> <16i3bfc9nqjks.dlg@dlg.marcrohloff.com> Subject: Re: Boxing and unboxing Date: Sat, 6 May 2006 09:06:14 +0100 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 82.69.239.102 Message-ID: <445c58fd$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1146902781 82.69.239.102 (6 May 2006 01:06:21 -0700) X-Authenticated-User: jcarter Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail