Compare two IEnumerable : <p>I have two Ienumerables. First consist volleyball,basketboll, soccer events.
Second - full history of games. Its all string, because I parse its</p>

<pre><code>public class Events
    {
        public string Date { get; set; }
        public string FirstTeam { get; set; }
        public string SecondTeam { get; set; }
    }

public class History
    {
        public string Date { get; set; }
        public string FirstTeam { get; set; }
        public string FirstTeamGoals { get; set; }
        public string SecondTeam { get; set; }
        public string SecondteamGoals { get; set; }
    }
</code></pre>

<p>I need to show previous games of team, which takes part in event. Team can be First or Second team in previous games.</p>

<p>I try this:</p>

<pre><code>foreach (var teamInEvent in ListEvents)
            {
                var firstor = from p in History
                where p.FirstTeam == teamInEvent.FirstTeam || p.SecondTeam == teamInEvent.FirstTeam
                where p.SecondTeam == teamInEvent.SecondTeam || p.FirstTeam == teamInEvent.SecondTeam 
                select p;    
            }
</code></pre>

<p>as a result I need to show Date,FirstTeam,FirstTeamGoals,SecondTeam,SectGoals. Compare goals and show: Team won last 3 games(for example).</p>
