C# Constant

A variable can declare as constant by using the C# keyword const. A variable declared as the constant should assign its value at its declaration time. This value assigned to the C# constant variable is immutable (cannot change throughout the program’s execution life cycle) and called “compile-time”. The const keyword applies to any built-in value … Read more