What is the difference between readonly and constant in c#
Answer Posted / karunakar
readonly value can be changed at runtime but constant never
change entire application
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is constructors, explain with syntax
What is readline library?
What is Co- and Contra-Variance in C#?
What is an example of delegation?
Is enum a class c#?
Is predicate a functional interface?
How to use exception handling in stored procedure?
How are methods overloaded?
What is string interpolation in c#?
Is class reference type c#?
How Reflection is used and what it's significance ?
How to sort an int array in c#?
Can we change static value in c#?
What is the default value of singleordefault?
Does c# support properties of array types?