Which of the following statements is true about Constants ?
You can assign a value to a constant after it is declared.
Constant must be initialized when it is declared.
Constant can be initialized in a constructor.
Constants are object specific.
Constants in C# are immutable values which are known at compile time and do not change for the life of the program. Constants are declared using the const keyword. Constants must be initialized during the time of declaration only.
Back To Top