Domanda di colloquio di Cavista Technology

difference between readonly and const keyword

Risposte di colloquio

Anonimo

4 lug 2022

Cant be changed and can be

1

Anonimo

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)