What is the purpose of the 'readonly' keyword in C#?
A. Marks a method as read-only
B. Allows read access only
C. Indicates that a field can only be assigned once
D. Specifies a constant value
Answer: Option C
Related Questions on Introduction to C Sharp

Join The Discussion