新鲜、有趣,互联生活。令狐葱。

2007/01/14

语言特有的类型名及对应的CLR类型名

C#

VB

C++

CLR

sbyte

SByte

char

SByte

byte

Byte

unsigned char

Byte

short

Short

short

Int16

ushort

UInt16

unsigned short

UInt16

int

Integer

int

Int32

uint

UInt32

unsigned int

UInt32

long

Long

__int64

Int64

ulong

UInt64

unsigned __int64

UInt64

float

Single

float

Single

double

Double

double

Double

bool

Boolean

bool

Boolean

char

Char

wchar_r

Char

string

String

String

String

object

Object

Object

Object

没有评论: