Properties are an elegant way to handle extra logic for getting or setting a field. As opposed to Java’s getter and setter methods, C# has properties which can help you in C# programming.
This is an exercise for this YouTube video.
Happy learning and good luck!
[qsm quiz=13]
Assignment: Create a write-only property.
Click to see the answer
private string backingField; public string Property { set => backingField = value; }