Given a set var battingContribution = IQueryable<Player, Runs> (Basically a list of players and their total batting score) and another set var bowlingContribution = IQueryable<Player, Runs>, how do I pick whose net contribution was the best such that the player whose batting score minus the bowling score results in the highest net total?
Given a set var battingContribution = IQueryable<Player, Runs> (Basically a list of players and
Share
The following works only for
Playersthat are in both Contributions (although I don’t know an IQueryable with two type params):MSDN reference to Linq samples see http://msdn.microsoft.com/en-us/vcsharp/aa336746
EDIT – as per comment from OP for completeness: