Quiz Yourself: Additional Features
Test your knowledge of the C# programming language additional features.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Which statement accurately describes the mutability of properties in an anonymous type in C#?
A.
Properties are read-only by default but can be made writable using the set keyword.
B.
Properties are always read-only and cannot be changed after the object is created.
C.
Properties are writable by default unless the readonly modifier is explicitly added.
D.
Properties are immutable only if the anonymous type is created within a LINQ query.
1 / 12