|
C# Type |
.Net Framework (System) type |
Bytes |
Mogelijke waardes |
|
sbyte |
System.Sbyte |
1 |
-128 tot 126 |
|
short |
System.Int16 |
2 |
-32768 tot 32767 |
|
int |
System.Int32 |
4 |
-2147483648 tot 2147483647 |
|
long |
System.Int64 |
8 |
-9223372036854775808 tot 9223372036854775807 |
|
byte |
System.Byte |
1 |
0 tot 255 |
|
ushort |
System.Uint16 |
2 |
fsdsdfsdfsdfsdfsdfsdftot 65535 |
|
uint |
System.UInt32 |
4 |
0 tot 4294967295 |
|
ulong |
System.Uint64 |
8 |
0 tot 18446744073709551615 |
|
float |
System.Single |
4 |
Approximately ±1.5 x 10-45 to ±3.4 x 1038 with 7 significant figures |
|
double |
System.Double |
8 |
Approximately ±5.0 x 10-324 to ±1.7 x 10308 with 15 or 16 significant figures |
|
decimal |
System.Decimal |
12 |
Approximately ±1.0 x 10-28 to ±7.9 x 1028 with 28 or 29 significant figures |
|
char |
System.Char |
2 |
Unicode character (16 bit) |
|
bool |
System.Boolean |
1 / 2 |
true of false |