1
Reply

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

Rajeev Prajapati

Rajeev Prajapati

13y
1.1k
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.