[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Naming conventions
From: |
Michal Moskal |
Subject: |
Re: [DotGNU]Naming conventions |
Date: |
Sat, 28 Aug 2004 10:59:17 +0200 |
User-agent: |
Mutt/1.4.2.1i |
On Sat, Aug 28, 2004 at 08:09:17AM +0200, Carl-Adam Brengesjo wrote:
> Marcus wrote:
> >Is that only for those three types? I don't see "Int32" or "Single" being
> >used, for example. So I'm very confused about this part.
>
> Afaik, "int" is prefered to "Int32" for future backcompability on 64bit
> system when "int" will be wrapped to Int64 instead of Int32. Though at
> many places in the code both "int" and "Int32" are used. So I'm not 100%
> sure about it.
ECMA-334 C# Language Specification
11.1.4.7:
The int type represents signed 32-bit integers with values between
-2147483648 and 2147483647.
It has nothing to do with 32/64 bit systems. t's one of reasons to use
CLR -- you don't need to care about this.
--
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: ::: Logic is a nice contrast to the Real World. :: UL++++$ C++ E--- a?