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 AutoMapper in C#?
if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
How garbage collection deals with circular references.
What is the difference between overriding and overloading in systemverilog?
what is the difference between a struct and a class in c#?
Explain how to parse a datetime string?
What are "class access modifiers" in C#?
Explain About namespaces
What is the difference between Object and class adapters?
What is namespace explain with example?
Can you create an instance of a static class?
Is type nullable c#?
When should I use static in C#?
What is difference between ienumerable and iqueryable in c#?
Is clr a compiler?