🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: About "int" value storage.

#211
From: Marc Rohloff TeamB
Date: Tue, 20 Jun 2006 23:13
19 lines
1841 bytes
On Tue, 20 Jun 2006 12:09:24 +0400, Kolja wrote:

> Can you elaborate?

Internally (i.e deep down and out of site) the CLI source represents
an int as a struct with a single field, which to all intents and
purposes is the same thing (they are the same size and layout and
could be treated either way).

However the C# compiler (as well as ILASM) hides this fact from you.
It is either an int (unboxed) or an object that looks just like an
integer. 

If I were you I would forget that it is a struct, it is just an
internal implementation detail.

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID: <aguodigtf9ee$.dlg@dlg.marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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
References: <1150727965.330076@angel.elektra.ru> <15m76f8teid2h$.dlg@dlg.marcrohloff.com> <1150790966.862793@angel.elektra.ru>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,fe3051f5b35308d7
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: About "int" value storage.
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: <1150727965.330076@angel.elektra.ru> <15m76f8teid2h$.dlg@dlg.marcrohloff.com> <1150790966.862793@angel.elektra.ru>
Date: Tue, 20 Jun 2006 19:13:13 -0400
Message-ID: <aguodigtf9ee$.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 0625-3, 06/20/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.1.121
X-Trace: newsgroups.borland.com 1150845192 65.31.1.121 (20 Jun 2006 16:13:12 -0700)
Lines: 19
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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