Valuta il contenuto e lascia un commento
MSDN
MSDN Library
Riferimenti
 Confronto tra tipi di dati in diver...
Comprimi tutto/Espandi tutto Comprimi tutto
Questa pagina è specifica di
Microsoft Visual Studio 2005/.NET Framework 2.0

Sono disponibili anche altre versioni per quanto indicato di seguito:
Visual Studio
Confronto tra tipi di dati in diversi linguaggi

In questo argomento sono elencati i tipi di dati per Visual Basic, Visual J#, C++, C#, JScript e Visual FoxPro.

Contenuto e dimensione Visual Basic Visual J# C++ C# JScript Visual FoxPro

Dati sconosciuti

n/d

Object

VARIANT

n/d

Object

Variant

Decimal

Decimal (struttura .NET Framework)

n/d

DECIMAL

decimal

decimal

n/d

Date

Date (struttura .NET Framework)

java.util.Date

DateTime

DATE

DateTime

DateTime

Oggetto Date

Date

DateTime

Carattere SBCS

(1 byte)

n/d

n/d

signed char

__int8

n/d

sbyte

Character

Carattere Unicode (2 byte)

Char (struttura .NET Framework)

char

wchar_t

char

char

n/d

Sequenza di caratteri Unicode

String (classe .NET Framework)

java.lang.String

String

wchar_t*

string

String

VarChar

Valore Boolean (dipendente dalla piattaforma)

Boolean (struttura .NET Framework)

boolean

VARIANT_BOOL

bool

boolean

Logical

1 byte

Tipo di dati SByte (Visual Basic) (struttura .NET Framework)

n/d

signed char

sbyte

n/d

n/d

2 byte

Short (struttura .NET Framework)

short

signed short int

__int16

short

short

n/d

4 byte

Integer (struttura .NET Framework)

int

long (long int, signed long int)

int

int

Integer

8 byte

Long (struttura .NET Framework)

long

__int64

long

long

Float

1 byte senza segno

Byte (struttura .NET Framework)

byte

BYTE

bool

byte

byte

Integer

2 byte senza segno

Tipo di dati UShort (Visual Basic) (struttura .NET Framework)

n/d

unsigned short

ushort

n/d

n/d

4 byte senza segno

Tipo di dati UInteger (struttura .NET Framework)

n/d

unsigned int e unsigned long

uint

n/d

n/d

8 byte senza segno

Tipo di dati ULong (Visual Basic) (struttura .NET Framework)

n/d

unsigned __int64

ulong

n/d

n/d

4 byte a virgola mobile

Single (struttura .NET Framework)

float

float

float

float

Float

8 byte a virgola mobile

Double (struttura .NET Framework)

double

double

double

Double

Double

Contenuti della community   Che cos'è Contenuti della community?
Aggiungi nuovo contenuto RSS  Annotazioni
Processing
© 2009 Microsoft Corporation. Tutti i diritti riservati. Condizioni per l'utilizzo | Marchi | Informativa sulla privacy
Page view tracker