line.Split(new[] {','}).Aggregate(new Dictionary<string, int>(), (d, s) => { d[s] = d.Keys.Count + 1; return d; });
C# On Comma separated string to D...
by rikkus,
October 08, 2009 19:58
line.Split(new[] {','}).Aggregate(new Dictionary<string, int>(), (d, s) => { d[s] = d.Keys.Count + 1; return d; });
Do you mind me asking why y...