Пример #1
0
 public int TeamLane(int team)
 => LaneAssignments.Single(item => item.Teams.Contains(team)).Number;
Пример #2
0
        public IEnumerable <int> TeamPairings(int team)
        {
            var lane = LaneAssignments.Single(item => item.Teams.Contains(team));

            return(lane.Teams.Where(item => item != team));
        }