Last active
July 8, 2020 16:22
-
-
Save joecastelo/5b25039649e33b3aa0b9f7f522990787 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
class Patient | |
{ | |
public string ID { get; set; } | |
public int Age { get; set; } | |
public int Priority { get; set; } | |
public Patient(string iD, int age, int priority) | |
{ | |
ID = iD; | |
Age = age; | |
Priority = priority; //0,1,2,3 | |
} | |
public void CallPatient() | |
{ | |
MessageBox.Show(ID + " " + Age + " " + Priority); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment