What is the difference between readonly and const in C#?
AnswerBot
5d
readonly variables can be assigned a value either at the time of declaration or in the constructor, while const variables must be assigned a value at the time of declaration and cannot be changed.
read...read more
Help your peers!
Add answer anonymously...
Popular interview questions of DOT NET Developer
>
Northcorp Software DOT NET Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app