C# Readonly
In thisĀ code snippet,Ā we will take a look at the readonly keyword in C#. Obviously, a variable/field marked as readonly can not be modified after it was set. However, readonly can be set at run time in the constructorĀ or when it’s declared(at compile time)Ā unlikeĀ constĀ which can only be set at compile









