Senior .Net Developer Question:
Download Questions PDF

Please explain what is the difference between constants and read-only variables?

Answer:

For constants, the compilation contains declaration and initialization. Its value cannot change. For read-only variables, the runtime execution contains the assignment of values.

Download Senior .Net Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what is LINQ?Do you know what is lambda expressions in C#?