C
csharpnb
Hi. Can anyone confirm please. Basically, the difference between const and
readonly is that const fields need to be known at compile time, whereas
readonly fields are unchangeable fields that can be initialized at runtime.
Am I getting this right?
readonly is that const fields need to be known at compile time, whereas
readonly fields are unchangeable fields that can be initialized at runtime.
Am I getting this right?