By default, values in C# are mutable, that is they can change over time. To make a value immutable, there are two options:
const modifier.readonly modifier.The const modifier has some restrictions:
const value must be initialized immediately.See defining constants for more information.
If your value is a non-constant type or you need to initialize the value in a constructor, readonly can be used to enforce immutability.