by pietman
24. November 2009 23:57
| C# Type |
.NET Framework type |
Range |
Size
|
| bool |
System.Boolean |
True,False |
|
| byte |
System.Byte |
0 to 255
|
|
| sbyte |
System.SByte |
-128 to 127 |
|
| char |
System.Char |
0000h to FFFFh (unicode)
|
|
| decimal |
System.Decimal |
|
|
| double |
System.Double |
7 digits precision ±5.0 × 10−324 to ±1.7 × 10308 |
|
| float |
System.Single |
15-16 digits precision ±1.5 × 10−45 to ±3.4 × 1038 |
|
| int |
System.Int32 |
-2,147,483,648 to 2,147,483,647 |
|
| uint |
System.UInt32 |
0 to 4,294,967,295 |
|
| long |
System.Int64 |
-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 |
|
| ulong |
System.UInt64 |
0 to 18,446,744,073,709,551,615 |
|
| object |
System.Object |
|
|
| short |
System.Int16 |
-32,768 to 32,767 |
|
| ushort |
System.UInt16 |
0 to 65,535 |
|
| string |
System.String |
|
|
7fe759f4-529e-4795-84c0-d308f68b1ce9|0|.0
Tags: aliases
c#