.NET中对象引用的大小是多少?它是否在x86,x64和/或AnyCPU编译之间有所不同?
如果它有所作为,我个人对C#感兴趣.
在我的C#源代码中,我可能已将整数声明为:
int i = 5;
Run Code Online (Sandbox Code Playgroud)
要么
Int32 i = 5;
Run Code Online (Sandbox Code Playgroud)
在目前流行的32位世界中,它们是等价的.但是,当我们进入64位世界时,我是否正确地说以下内容会变得相同?
int i = 5;
Int64 i = 5;
Run Code Online (Sandbox Code Playgroud)