1
Reply

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

Rajeev Prajapati

Rajeev Prajapati

Jun 11, 2013
1.1k
0

    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.

    Ranjit Powar
    April 23, 2014
    0