C Sharp (C#) - Properties and Encapsulation
Which of the following correctly defines a read-only property Score in C# that returns a private field _score?
Which of the following correctly defines a read-only property Score in C# that returns a private field _score?
get accessor.set, making it read-only.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions