Readonly
Readonly
is used to prevent properties from being modified after they are initialized.- This is enforced at compile time, offering additional safety in your code.
Readonly
is used to prevent properties from being modified after they are initialized.