c#常用数值范围汇总
short.MaxValue |
32767 |
short.MinValue |
-32768 |
int.MaxValue |
2147483647 |
int.MinValue |
-2147483648 |
long.MaxValue |
9223372036854775807 |
long.MinValue |
-9223372036854775808 |
float.Epsilon |
1.401298E-45 |
float.MaxValue |
3.402823E+38 |
float.MinValue |
-3.402823E+38 |
float.NaN |
非数字 |
float.NegativeInfinity |
负无穷大 |
float.PositiveInfinity |
正无穷大 |
double.Epsilon |
4.94065645841247E-324 |
double.MaxValue |
1.79769313486232E+308 |
double.MinValue |
-1.79769313486232E+308 |
double.NaN |
非数字 |
double.NegativeInfinity |
负无穷大 |
double.PositiveInfinity |
正无穷大 |
bool.FalseString |
False |
bool.TrueString |
True |
char.MaxValue |
"" |
char.MinValue |
"" |
byte.MaxValue |
255 |
byte.MinValue |
0 |
ushort.MaxValue |
65535 |
ushort.MinValue |
0 |
uint.MaxValue |
4294967295 |
uint.MinValue |
0 |
ulong.MaxValue |
18446744073709551615 |
ulong.MinValue |
0 |
原文地址:https://www.cnblogs.com/xiii/p/7085962.html