当我sizeof(int)在C#.NET项目中执行时,返回值为4.我将项目类型设置为x64,那为什么它会说4而不是8?这是因为我正在运行托管代码吗?
sizeof(int)
c# clr 64-bit sizeof
64-bit ×1
c# ×1
clr ×1
sizeof ×1