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 are different types of Delegates in C#?
Why do we need interface in c#?
Why do we use dictionary in c#?
Why do we override in c#?
How can we set class to be inherited, but prevent the method from being over-ridden?
Why c# is called type safe language?
what is IEquatable
How to open a new form on button click in Windows forms?
How does return work in c#?
What are most desktop applications written in?
How do I do implement a assert?
What are the benefits of using generics in c#?
What is returned if you pass the value 12.34 to the parsefloat () function?
Why do we need to call CG.SupressFinalize?
How do destructors and garbage collection work in c#?