CIL有一些指令,例如ldc.r8 <float64 (num)>, ldc.r4 <float32 (num)>, ldc.i8 <int64 (num)>, ldc.i4.s <int8 (num)>
,它们是堆栈中的加载常量。
那么,C#中这些数据类型(int32, int64, float32, float64
)的等价物是什么?
答案 0 :(得分:7)
C# type CIL type .NET Framework type
============================================
short int16 System.Int16
int int32 System.Int32
long int64 System.Int64
float float32 System.Single
double float64 System.Double