Pergunta de entrevista da empresa Cavista Technology

difference between readonly and const keyword

Respostas da entrevista

Sigiloso

4 de jul. de 2022

Cant be changed and can be

1

Sigiloso

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)