Pregunta de entrevista de Cavista Technology

difference between readonly and const keyword

Respuestas de entrevistas

Anónimo

4 de jul de 2022

Cant be changed and can be

1

Anónimo

12 de ago de 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)