类型 |
长度 |
存储范围 |
sbyte |
8位 |
-128 到 127 |
byte |
8位 |
0到255 |
short |
16位 |
-32,768 到 32,767 |
ushort |
16位 |
0 到 65,535 |
int |
32位 |
-2,147,483,648 到 2,147,483,647 |
uint |
32位 |
0 到 4,294,967,295 |
long |
64位 |
-9,223,372,036,854,775,808 到 9,223,372,036,854,775,807 |
ulong |
64位 |
0 到 18,446,744,073,709,551,615 |
C# 整数类型,长度,存储范围
猜你喜欢
转载自blog.csdn.net/qq_42675313/article/details/82501025
今日推荐
周排行