什么是64位PC上的int.MaxValue? [英] What is the int.MaxValue on a 64-bit PC?

查看:179
本文介绍了什么是64位PC上的int.MaxValue?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

System.Console.WriteLine(int.MaxValue);

System.Console.WriteLine(int.MaxValue);

这条线给出了2147483647的答案,因为我有一台32位PC。

This line gives me the answer of 2147483647 as I have a 32-bit PC.

在64位PC上答案是否相同?

Will the answer be same on a 64-bit PC?

推荐答案

是的。


int.MaxValue:2,147,483,647

int.MaxValue: 2,147,483,647

资料来源: https://www.dotnetperls.com/int-maxvalue

这篇关于什么是64位PC上的int.MaxValue?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆