Answer Posted / nithya
A readonly can be initialized only the time of variable
declaration or only in the constrator,Apart from that we
cannt modify anywhere in our program.
But Constant must be initialized at the time of declaration.
And this value cannt be changed in constractor level also.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the difference between arraylist and list in c#?
What is the meaning of MSIL?
What is difference between static and constant variable?
What is predicate builder?
If I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application?
What does type safe mean in c#?
What is a concrete class in c#?
Why do we use abstract class in c#?
How is lazy loading achieved?
What do you mean by the delegate in c#?
How do I make a dll in c#?
What is parameters in c#?
What does dbml mean in texting?
When should I throw an exception?
What is strong data type in c#?