What is the Difference between read only and constant
variables?
Answer Posted / isaiselvan
readonly assign a value at run time but we can assign a declaration part.
const values assign only at declaration part.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Explain About Global.asax
Explain the difference between boxing and unboxing.
can you declare an override method to be static if the original method is not static?
How do I calculate relative time?
Why are dynamic link library used over static one?
what is c# command?
How a two-dimensional array declared in C#?
Which is faster iqueryable or ienumerable?
Is c# a keyword?
What is the meaning of 0 in c#?
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
What are assemblies?
What is sql transaction in c#?
Is c# or c++ better for games?
What is the difference between decimal and integer?