const imn c# code example
Example 1: constants in c#
class Calendar1
{
public const int Months = 12;
}
Example 2: csharp declare constan
public const int NUMBER = 9;
class Calendar1
{
public const int Months = 12;
}
public const int NUMBER = 9;