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
Explain About Web.config
Explain the difference between and xml documentation tag?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
What is the purpose of the integer parse method the decimal parse method?
What is regex c#?
Is string a primitive data type in c#?
Why is .net so popular?
Write a program in C# for checking a given number is PRIME or not.
What is inheritance in csharp?
What is decimal in c#?
What is the difference between public, static, and void?
What Is The Smallest Unit Of Execution In .net?
Is goto statement supported in c#?
What is the execution entry point for a c# console application?
How to create multi-dimensional array?