Senior .Net Developer Question:
Download Questions PDF

As you know read-only variables and constants have many similarities, but what is at least one way that they differ?

Senior .Net Developer Interview Question
Senior .Net Developer Interview Question

Answer:

Here are two possible answers to .NET interview questions of this nature:

☛ Read-only variables can support reference-type variables. Constants can hold only value-type variables.
☛ Developers evaluate read-only variables at the runtime. They evaluate constants at the compile time.

Download Senior .Net Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is the difference between a class and an object, and how do these terms relate to each other?Explain me what is the .Net framework and how does it work?