What is the difference between const and readonly in C#?
const
readonly
When would you use one over the other?
Principally; you can assign a value to a static readonly field to a non-constant value at runtime, whereas a const has to be assigned a constant value.