Integer versus Int32

  • Thread starter Thread starter Sheila Jones
  • Start date Start date
S

Sheila Jones

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.
 
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,
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
 
* "Sheila Jones said:
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'.
 
Integer always maps to System.Int32, whether you're on a 64bit platform or
not.

hth

M. Posseth MCP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top