Created
June 15, 2021 11:57
-
-
Save lgolubyev/4bc88297af25973f695d6c6687b5baef 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
public class Person | |
{ | |
public string Name { get; set; } | |
} | |
public class Pupil : Person | |
{ | |
public string Class{ get; set; } | |
public List<int> IdsCourse { get; set; } | |
} | |
public class Teacher : Person | |
{ | |
public string Class { get; set; } | |
public int IdContract { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment