Const
|
ReadOnly
|
You set a value to const member whose value will not change
during execution of program
|
You set a value to readonly
member whose value will change in constructor only
|
You can not change a value once assigned
|
Only in constructor
|
Set at compilation time
|
Set during runtime
|
Comments
Post a Comment