记录在C#语言规范的第2.4.4章中:
float f = 1.2f;double d = 1.2d;uint u = 2u;long l = 2L;ulong ul = 2UL;decimal m = 2m;
对于int,byte,sbyte,short,ushort没有任何要求。

记录在C#语言规范的第2.4.4章中:
float f = 1.2f;double d = 1.2d;uint u = 2u;long l = 2L;ulong ul = 2UL;decimal m = 2m;
对于int,byte,sbyte,short,ushort没有任何要求。