整数值后的尾随百分比字符
Trailing percent character after integer value
这行中的百分比字符是什么意思:
Console.WriteLine(50% + 50%)
输出:
100
Hans Passant评论中的link提到了它:
Literals can also use the identifier type characters (%, &, @, !, #,
$), as can variables, constants, and expressions.
这行中的百分比字符是什么意思:
Console.WriteLine(50% + 50%)
输出:
100
Hans Passant评论中的link提到了它:
Literals can also use the identifier type characters (%, &, @, !, #, $), as can variables, constants, and expressions.