KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Can anyone tell what is the point of a constant in C#? For example, what is the advantage of doing const 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?
Tags (comma-separated)
Save Edits
Cancel