What is the difference between const and readonly in C#? C#中const和readonly什么区别? spa
const
readonly
When would you use one over the other? 您何时可使用另外一个? .net