Created
March 16, 2020 00:39
-
-
Save josephwoodward/e8c583b575256f3fe0985d9d91e31cf0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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