declaring a constant variable n C# code example Example: constants in c# class Calendar1 { public const int Months = 12; }