Question:What is the purpose of the readonly keyword in C#? 

A To make a variable accessible only in read mode 

B To prevent modifying the variable after initialization 

C To make the variable accessible in all derived classes 

D To declare a variable as a constant 

+ Answer
+ Report
Total Preview: 14

Copyright © 2024. Powered by Intellect Software Ltd