What is the Difference between read only and constant
variables?
Answer Posted / guest
Read only variable can be assigned a value at the runtime.
Where as const have to be assigned at the compile time only.
| Is This Answer Correct ? | 64 Yes | 5 No |
Post New Answer View All Answers
What are the 2 broad classifications of fields in c#?
What is a linked list c#?
Is c# the same as d flat?
What is parameters in c#?
What is multicast delegate in c# ?
What is datetime minvalue in c#?
What is lazy keyword in c#?
Can we inherit class that contains only one private constructor?
What is difference between hashtable and dictionary in c#?
Is it possible to have different access modifiers on the get/set methods of a property in c#?
What is the boxing and unboxing in c#?
Explain dataset.acceptchanges method in .net?
What does console readkey do in c#?
Define encapsulation?
What are the differences between a class and a struct?