I have the following code:
var ccdata = dict1.Select(i =>
new object[] { i.Key, Int32.Parse(i.Value) }
).ToArray();
I need to get the sum of all of the i.Value's. Please note this is a multidimensional object array. i.Key is a string value and i.Value is a int value which needs to be summed up.
Thank you in advance
i.Valueis string? Why do you parse it, why isn't it initially a number?