But it is allowing me to do that.I took User::X as Readonly and assigned value 4 to it. and showed it in a message box.It allowed me to do this.Thats why I am asking what is difference between readonly and Readwrite