型態 大小 範圍 BCL名稱 符號 後綴
sbyte 8bit -128~127 System.SByte Y  
byte 8bit 0~255 System.Byte N  
short 16bit -32768~32767 System.Int16 Y  
ushort 16bit 0~65535 System.UInt16 N  
int 32bit -2147483648~2147483647 System.Int32 Y  
uint 32bit 0~4294967295 System.UInt32 N U/u
long 64bit -9223372036854775808~9223372036854775807 System.Int64 Y L/l
ulong 64bit 0~18446744073709551615 System.UInt64 N UL/ul

共有八種型態

arrow
arrow
    文章標籤
    c# variable type integer
    全站熱搜

    痞客興 發表在 痞客邦 留言(0) 人氣()