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 meant by generics in c#?
What is difference between comparable and comparator?
Define an array?
What is private class in c#?
State the top.NET class that everything is derived from?
What is thread life cycle in c#?
What are the properties of c#?
Explain about generics in c#.net?
What is a generic method?
Is int a struct in c#?
What are Regex / regular expressions ?
How to use the sreamReader class to read form a text file?
What is the difference between const and static read-only?
What is the use of properties window?
Define boxing and unboxing in c#?