Constants in C# .NET
July 19, 2018
We can use constants in C# .NET as following:
const int MAX_STUDENTS = 25; // Can set to a const or var; may be initialized in a constructor readonly float MIN_DIAMETER = 4.93f;
We can use constants in C# .NET as following:
const int MAX_STUDENTS = 25; // Can set to a const or var; may be initialized in a constructor readonly float MIN_DIAMETER = 4.93f;