[ C#개발과정 Tip ]- Built-in Data Type(1)-정수형

 

 

 

 

 예약어

 구조체형식

크기(Bit)

범위

sbyte

System.Sbyte

8

-128~127

byte

System.Byte

8

0~255

short

System.Int16

16

-32,768~32,767

ushort

System.UInt16

16

0~65,535

int

System.Int32

32

-2,147,483,648

~2,147,483,647

uint

Systen.UInt32

32

0~4,294,967,295

long

System.Int64

64

-(2^63) ~ 2^63-1

ulong

System.UInt64

64

0~ 2^64-1

 

 

 

 

 

 

 

 

 

+ Recent posts