What is the Difference between read only and constant
variables?
Answer Posted / zia khan
The difference between the readonly and const data members
is that const requires you to initialize with the
declaration, that is directly
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
Explain the mechanism of VB.NET/C# achieve polymorphism?
What is difference between ienumerable and ienumerator in c#?
Why do we use interfaces in c#?
Explain async and await?
What is the use of list in c#?
What is datacontract in c#?
What does question mark mean in c#?
How do partial classes work in c#?
What is a partial class in c#?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
Can you store different types in an array in c#?
Is javascript harder than c#?
Distinguish between system.string and system.text.stringbuilder classes?
What are the variables in c#?
what is method overloading in c#?