readonly Fields

readonly Fields

The readonly  keyword is used for fields that will not allow modification of values. readonly  fields have similar characteristics as constants except that you can allow a readonly field to have no value from…