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 are delegates?
Why do we write system in c#?
Define constructor in c#.
What will a loop recorder show?
Can hashtable have duplicate keys in c#?
What is 8 bit signed integer?
What is ienumerator c#?
What is an array class?
What is the use of delegate?
Can an abstract class inherit from another abstract class c#?
What is a console operator?
What is a protected class in c#?
Can you specify nested classes as partial classes?
how encapsulation is implemented in c#
What is the correct way of declaring an xml namespace?