How to create a constant in VB.NET?
You use the Const statement to declare a constant and set its value. See below example.
Public Const DaysInYear = 365 Private Const WorkDays = 250
You use the Const statement to declare a constant and set its value. By declaring a constant, you assign a meaningful name to a value. Once a constant is declared, it cannot be modified or assigned a new value. You declare a constant within a procedure or in the declarations section of a module, class, or structure.