By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 2,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

Integer versus Int32

P: n/a
Hi,

Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead? Thanks.
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Integer always maps to System.Int32, whether you're on a 64bit platform or
not.

hth

M. Posseth MCP

"Sheila Jones" <sh****************@btopenworld.com> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl...
Hi,

Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead? Thanks.

Nov 20 '05 #2

P: n/a
Sheila,
Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead? Thanks.


It will probably always map to Int32, even on 64-bit runtimes. But
since the VB team has quite a poor history when it comes to language
stability, you can never know for sure.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 20 '05 #3

P: n/a
* "Sheila Jones" <sh****************@btopenworld.com> scripsit:
Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead?


Yes, it will (hopefully) always map to 'Int32'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #4

P: n/a
It will allways map to a 32 Bit type.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Sheila Jones" <sh****************@btopenworld.com> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl...
Hi,

Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead? Thanks.

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.