Unnecessarily verbose type declarations make it harder to read the code, and should be simplified to auto-property declarations when the getters and setters contain no logic other than a simple get/set. == Noncompliant Code Example ---- private int myVar; public int MyProperty { get { return myVar; } set { myVar = value; } } ---- == Compliant Solution ---- public int MyProperty { get; set; } ---- ifdef::env-github,rspecator-view[] ''' == Comments And Links (visible only on this page) include::comments-and-links.adoc[] endif::env-github,rspecator-view[]