Question: what is difference between constant and readonly in c#?
Answer: A constant member is defined at compile time and cannot be changed at runtime. ... A readonly member is like a constant in that it represents an unchanging value. The difference is that a readonly member can be initialized at runtime, in a constructor, as well being able to be initialized as they are declared.