当您在某些类型的值旁边添加文字字符时,此功能“称为”什么?
decimal d = 1.00m;
最佳答案
它被称为后缀。
来自MSDN decimal文章:
If you want a numeric real literal to be treated as decimal, use the suffix m or M, for example:
关于c# - C# 中名为/exactly do 的值后面的单个字符是什么? (例如1.00m),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1856022/