I have a Dictionary storing data as such: Dictionary<string, IList<T>>();
I am trying to select the total number of values without having to use nested foreach loops.
I found this using LinQ,
myRowCnt = deptToEmp.Skip(1).Sum(x => x.Value);
But because value is a Collection, this will not work. I was trying to modify it myself, but I am not familiar with LinQ.
Any help would be greatly appreciated!