🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

About "int" value storage.

#205
From: Kolja
Date: Mon, 19 Jun 2006 14:39
8 lines
1524 bytes
I have one stupid question which do not gove me a rest.
Given that "int" value datatype is represented by "struct" in unboxed 
condition and "class ValueType" when in boxed condition.
Let us write in our progam: "int i = 5;" . Now plz tell me WHERE in both 
struct or class representation store the value "5" of "int i" itself? I 
tried to disassemble the "int i" through Reflection and found some field 
"m_value" in it. I wonder if is it?
Thanks, Kolja. 
Technical Details
Message-ID: <1150727965.330076@angel.elektra.ru>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,fe3051f5b35308d7,start
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kolja" <kolja2003@tizcali.com>
Newsgroups: borland.public.csharpbuilder.language.csharp
Subject: About "int" value storage.
Date: Mon, 19 Jun 2006 18:39:22 +0400
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.2663
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663
X-RFC2646: Format=Flowed; Original
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <1150727965.330076@angel.elektra.ru>
Cache-Post-Path: angel.elektra.ru!unknown@shsv.mcc.elektra.ru
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
NNTP-Posting-Host: 193.125.98.3
X-Trace: newsgroups.borland.com 1150727964 193.125.98.3 (19 Jun 2006 07:39:24 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail