+ 1
Const Readonly
What is the difference between Const and Readonly?
1 Answer
+ 3
const is constant already at compilation, the value must be set at declaration
readonly is constant during runtime â it may be set in the constructor of the object
What is the difference between Const and Readonly?