1
Reply

What is difference between a constant and read-only in C#?

Rajeev Prajapati

Rajeev Prajapati

12y
1.5k
0
Reply

    It is necessary for constant variable to initialize at the time of declaration of variable. But read only variable dose not required to be initialized at the time of declaration.