1.

Explain the difference between “constant” and “read-only” variables used in C#?

Answer»
S.noConstant variablesRead-only variables
1.Declared at COMPILE timeUsed to ASSIGN a VALUE at RUN time
2.Value cannot be CHANGEDValue can be changed


Discussion

No Comment Found