FlashcardIntermediate

The readonly Modifier

readonly prevents reassignment of a class member after initialization.

Question

What does the readonly modifier do on a class member?

Click to reveal answer