What is the Difference between read only and constant
variables?

Answer Posted / anil chauhan

All the answers is right.
But the last one is very right.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between struct and class in c#?

469


Why do we overload constructors?

492


What do you mean by hashtable c#?

571


Why are c# strings immutable?

499


Can we inherit two classes in c#?

510






Can we have static indexer in c#?

492


What are destructors in C#?

843


Can you change the value of a constant filed after its declaration?

519


Explain how can I get around scope problems in a try/catch?

484


Write a short note on interface?

580


How do I use the 'using' keyword with multiple objects?

509


How can we set the class to be inherited, but prevent the method from being over-ridden?

482


What is private variable?

483


Is system a class in c#?

492


Explain the different ways a method can be overloaded?

454