Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Player
- {
- public string name {get; set;}
- public int age {get; set;}
- public double salary {get; set;}
- public string gender {get; set;}
- public DateTime contractSignDate {get; set;}
- }
- public class Team
- {
- public string teamName {get; set;}
- public string sportPlayed {get; set;}
- public List<Player> players {get; set;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement