Answer Posted / ganesh
a constant must be initialized at the time of decleration
and this value cannot be changed anywhere in the program.
whereas a readonly can be initialized at anywhere in the
program and the value can be changed
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the difference between a private assembly and a shared assembly?
What is a Managed Code??
Why objects are stored in heap in c#?
What does the dispose method do with the connection object?
what is IEquatable
What is c# entity framework?
Is void a class?
Difference between call by value and call by reference in C#?
Define delegate?
What is a hash table in c#?
Why are strings in c# immutable?
Can you access a hidden base class method in the derived class?
What is datarelation c#?
What is the difference between ref and out in c#?
What is the difference between paramaterized constructor and copy constructor?