Skip to content

Instantly share code, notes, and snippets.

@EIrwin
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save EIrwin/10725e177d7ea23cc4c4 to your computer and use it in GitHub Desktop.

Select an option

Save EIrwin/10725e177d7ea23cc4c4 to your computer and use it in GitHub Desktop.

Revisions

  1. EIrwin renamed this gist Nov 7, 2014. 1 changed file with 0 additions and 0 deletions.
  2. EIrwin created this gist Nov 7, 2014.
    5 changes: 5 additions & 0 deletions ChangeAge Method Implementation
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    private static void ChangeAge(ref Person person,int newAge)
    {
    person = new Person(); //We CAN do this!
    person.Age = newAge;
    }