csharp declare constan code example
Example 1: const float c#
const int X = 0;
public const double GravitationalConstant = 6.673e-11;
private const string ProductName = "Visual C#";
Example 2: csharp declare constan
public const int NUMBER = 9;
const int X = 0;
public const double GravitationalConstant = 6.673e-11;
private const string ProductName = "Visual C#";
public const int NUMBER = 9;