c#データ型
2627 ワード
bool System.Boolean
4Byte 32bit ,true false, false
byte System.Byte
1Byte 8bit , 0~255, 0
sbyte System.SByte 1Byte
8bit , -128~127, 0
char System.Char
2Byte 16bit Unicode , ’\0’
decimal System.Decimal
16Byte 128bit ,28 , , 0.0m
double System.Double
8Byte 64bit , 0.0d
float System.Single
4Byte 32bit , 0.0f
int System.Int32
4Byte 32bit , 0
uint System.UInt32
4Byte 32bit , 0
long System.Int64
8Byte 64bit , 0
ulong System.UInt64
8Byte 64bit , 0
object System.Object
, null
short System.Int16
2Byte 16bit , 0
ushort System.UInt16
2Byte 16bit , 0
string System.String
, null