c# Difference between readonly and const code example
Example: readonly vs const c#
readonly keyword is used to define a variable
which can be assigned once after declaration
either during declaration or in constructor.
const keyword is used to define a constant to be used in the program.