Question from the C# - Fundamentals test

Write a C# class with a private int age field and getter and setter methods for it.

Easy

What are the correct syntaxes to access (read and/or write) a private int age field of a class:

Author: MaximeStatus: PublishedQuestion passed 846 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!