Monday, December 7, 2015

Use ReSharper to cast auto-properties to traditional getsetters.

  1. Click on the auto-property.
  2. At the hammer icon which appears at the left of the line of code pick: "To property with backing field"

No comments:

Post a Comment