c#中int16 int32 int64区别

int16=short;
int32=int;
int64=long;
Int16 值类型表示值介于 -32768 到 +32767 之间的有符号整数。
Int32 值类型表示值介于 -2,147,483,648 到 +2,147,483,647 之间的有符号整
数。
Int64 值 类 型 表 示 值 介 于 -9,223,372,036,854,775,808 到
+9,223,372,036,854,775,807 之间的整数。

猜你喜欢

转载自blog.csdn.net/weixin_38055381/article/details/87878039