Timeline for What is the difference between const and readonly in C#?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 8, 2023 at 16:27 | comment | added | glei |
Readonly can be used with Static modifiers but constant cannot be used with static. Its because const fields are already implicitly static
|
|
Apr 24, 2021 at 16:29 | review | Late answers | |||
Apr 24, 2021 at 18:03 | |||||
Apr 24, 2021 at 16:11 | history | answered | Moni | CC BY-SA 4.0 |