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
Is it good to use var in c#?
Is Facebook a desktop application?
Is string nullable c#?
Define clr in .net?
How can you access a private method of a class?
Differentiate between sqlclient oledb and providers?
How many types of interface are there in c#?
What is static and use of it?
What is desktop example?
Is string mutable in c#?
Is class reference type c#?
What does the initial catalog parameter define in the connection string?
Where do I put dll files?
What is the difference between as and is operators in c#?
Why c# is called type safe language?