Skip to content

Instantly share code, notes, and snippets.

@josephwoodward
Created March 16, 2020 00:39
Show Gist options
  • Save josephwoodward/e8c583b575256f3fe0985d9d91e31cf0 to your computer and use it in GitHub Desktop.
Save josephwoodward/e8c583b575256f3fe0985d9d91e31cf0 to your computer and use it in GitHub Desktop.
// Before
public class Person
{
private readonly string _firstName;
private readonly string _surname;
private readonly int _age;
public Person(string firstName, string surname, int age)
{
_firstName = firstName;
_surname = surname;
_age = age;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment