C# Primitive Types

C# Primitive Types

C#
Type
decimal
(m)
double
(d)
float
(f)
longintshortcharboolbyte
RealRealRealWholeWholeWholeSingle Unicode charsBooleanIntegral Number
Precision28-29157NoneNoneNonen/an/aNone
.NET TypeDecimalDoubleSingleInt64Int32Int16CharBooleanByte
Bytes1684842211
Bits12864326432161688
Range-2.1B to 2.1B-32,768 to 32,767Unicode charsTrue/
False
0 to 255
C# Primitive Types (aka built-in types)

Leave a Reply