Last active
September 20, 2016 06:51
-
-
Save konrad1977/b6b8c290888e82473c9c to your computer and use it in GitHub Desktop.
olika_abstraktions_nivåer
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
void UpdatePersonWithId(int personId) { | |
Person personToFind = null; | |
foreach(person in personList) { | |
if (person.id == personId) { | |
personToFind = person; | |
break; | |
} | |
} | |
SavePerson(personToFind); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment