What is the point of a constant in C#
- by Adam
Can anyone tell what is the point of a constant in C#?
For example, what is the advantage of doing
cosnt int months = 12;
as opposed to
int months = 12;
I get that constants can't be changed, but then why not just... not change it's value after you initialize it?