What is the difference between const and readonly in C#?
const
readonly
When would you use one over the other?
There is a gotcha with consts! If you reference a constant from another assembly, its value will be compiled right into the calling assembly. That way when you update the constant in the referenced assembly it won't change in the calling assembly!