C Sharp (C#) - Properties and Encapsulation
How can you implement a read-only property
Id that is set only once in the constructor using a private field _id?Id that is set only once in the constructor using a private field _id?15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions