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 state c#?
Is it not possible to store a boolean value as a variable?
what is a static constructor?
What is datetime minvalue in c#?
What is difference between string and stringbuilder in c#?
How can an inner class access the members of outer class?
What is static and use of it?
We cannot create instances of static classes. Can we have constructors for static classes?
What is a interface in c#?
What is default access modifier for class in c#?
Is array thread safe c#?
What is difference between encapsulation and abstraction in c#?
Describe two uses of the “using” statement during the operation of c#?
Is list passed by reference c#?
What is the use of oops in c#?