类型

别名

允许的值

sbyte

Syetem.Sbyte

-128~127之间的整数

byte

Syetem.Byte

0~225之间的整数

short

Syetem.Int16

-32768~32767之间的整数

ushort

Syetem.Uint16

0~65535之间的整数

int

Syetem.Int32

-2147483648~2147483647之间的整数

uint

Syetem.Uint32

0~4294967295之间的整数

long

Syetem.Int64

-9223372036854775808~9223372036854775807之间的整数

ulong

Syetem.Uint64

0~18446744073709551615之间的整数

浮点数类型

float

Syetem.Single

 

double

Syetem.Double

 

decimal

Syetem.Decimal

 

 

char

Syetem.Char

一个Unicode字符,存储0~65535之间的整数

 

bool

Syetem.Boolean

布尔值:truefalse

 

string

Syetem.String

字符串

posted on 2008-08-23 17:38  国雄  阅读(254)  评论(0编辑  收藏  举报