谁能说出C#中常量的含义是什么?
例如,做什么有什么好处
const int months = 12;
而不是
int months = 12;
我知道常量不能改变,但为什么不只是...在初始化之后不改变它的值?
c# constants
c# ×1
constants ×1