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
Can var be null c#?
Is c# front end or back end?
What are the different states of a thread?
What is interface used in c#?
How we can create an array with non-default values?
Which of these statements correctly declares a two-dimensional array in c#?
What is the difference between dynamic type variables and object type variables in c#?
What is extended class in c#?
State two different types of access modifiers.
Why is .net so popular?
What is Satellite Assemblies ?
Explain the use of Mutex in C#?
What is the use of delegate?
How do switch statements work?
What are the types in c#?