I am trying to group an array of objects and sum the result of each grouped value.
object[] products =
{ new object[] {"Soap", "1" ,10},
new object[] { "Soap", "2", 20 },
new object[] { "Soap1", "1",12 },
new object[] { "Soap", "3",30 },
new object[] { "Soap2", "2" ,10},
new object[] { "Soap1", "2" ,40} };