字节数

int有好几种:Int16 Int32 Int64
意义同名,分别占16位,32位,64位
8位一字节,所以分别占2字节,4字节,8字节

 


C#对整数做了基元类型:
short映射Int16
int映射Int32
long映射Int64
int即Int32
即:4字节

posted on 2021-08-11 16:42  MILUMI  阅读(346)  评论(0编辑  收藏  举报

导航