[Cross posted from http://www.skimedic.com]
Technorati Tags:
LINQ,
.NET Yesterday, after my session on LINQ at MADExpo, a gentleman asked me how I would solve a certain problem that he is facing at work with LINQ. Here is my solution (turns out I was a little brain dead after giving three sessions at the conference, so while he was sitting with me, I just couldn’t see it).
The Problem
The problem consists of a list of salespeople that have sales. Here are the classes involved:
public class SalesPerson
{
public string Name { get; set; }
public IList<Sales> Sales { get; set;...