c# define constant string code example Example: constants in c# class Calendar1 { public const int Months = 12; }