Exemple #1
0
 public object Clone()
 {
     return(new TeamInfo
     {
         TeamName = TeamName,
         TeamId = TeamId,
         Player1 = (PlayerInfo)Player1?.Clone(),
         Player2 = (PlayerInfo)Player2?.Clone()
     });
 }