C Sharp (C#) - Properties and Encapsulation
Which of the following is the correct syntax to declare a property named
Age with a private field in C#?Age with a private field in C#?age) and declared as private int age;.Age uses get and set to access the private field correctly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions