private Team RandTeam() { var randomIndex = new Random().Next(0, TeamCollection.Count); var tmpTeam = TeamCollection[randomIndex].Clone() as Team; TeamCollection.RemoveAt(randomIndex); return(tmpTeam); }
private Team RandTeam() { var randomIndex = new Random().Next(0, TeamCollection.Count); var tmpTeam = TeamCollection[randomIndex].Clone() as Team; TeamCollection.RemoveAt(randomIndex); return(tmpTeam); }