Datatable Add Column Values based on row values

looks like a group by on column c1
then the group members will be sum up the col values when the col values are different

checking if the group member col val is different:
grp.Select(Function (x) x(ColNameOrIndex).toString.Trim).Distinct().Count = 1