Examveda

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


This Question Belongs to C Sharp Programming >> Introduction To C Sharp

Join The Discussion

Related Questions on Introduction to C Sharp