-----Original Message-----
From: Rene [mailto:
[email protected]]
Posted At: Monday, 10 September 2007 5:06 AM
Posted To: microsoft.public.dotnet.languages.csharp
Conversation: Double vs double
Subject: Re: Double vs double
Thanks Guys,
OK, I guess the one thing that may not be the same is that different
programming languages may map the same keyword to a different CLR type.
For example, perhaps Cobol.Net (or whatever) could map the keyword
"int" to
System.Int64 rather than to System.Int32.
I realize that this observation is beyond the scope of the posters
question
but I just wanted to point it out, I remember reading somewhere someone
suggesting to use the CLR type names rather than the aliases for a
couple of
reasons and I think one of the was what I mentioned above.
In other words, using the CLR type names is supposed to be better for
clarity (even for people coming form different programming languages)
although I believe Microsoft like us to use the aliases better.
Cheers.
"Nicholas Paldino [.NET/C# MVP]" <
[email protected]>
wrote in
message news:
[email protected]...
It will be a 32 bit integer. The type is consistent across platforms.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Rene said:
But are they the same across all platforms?
For example, if I was to declare a variable as an "int" on a 32 bit OS
the size of it will be 32 bits, but if I was to use the "int" keyword on
a 64 bit OS, will it reference a 32 bit integer or a 64 bit integer?
Just curious, thanks.