Pregunta de entrevista de Cavista Technology

difference between readonly and const keyword

Respuestas de entrevistas

Anónimo

4 jul 2022

Cant be changed and can be

1

Anónimo

12 ago 2023

Const is initiated at compile time Where as the read only can be initiated both at compile time as well as runtime (only using constructor from same class)