What is the difference between const and readonly in C#?
What is the difference between const and readonly in C#?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(stackoverflow.com/users/4883/readonly)readonly |
(stackoverflow.com/users/1695/gishu)Gishu |
(stackoverflow.com/users/1196/aku)aku |
(stackoverflow.com/users)stackoverflow.com-Community |
(stackoverflow.com/users)stackoverflow.com-Community |
(stackoverflow.com/users/5190/vinko-vrsalovic)Vinko Vrsalovic |
A special thanks goes out to the (https://stackoverflow.com/questions/55984/what-is-the-difference-between-const-and-readonly-in-c)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
c# constants readonly .net