collection

Resolved: Collection was modified; enumeration operation may not execute

I was playing with a data table object, my requirement was to merge all duplicate rows to one and remove the duplicates. e.g. Book     Price Quantity Title 1 210   4 Title 1 210   6 Title 1 210   8 These were the rows inside my data table object. I want a consolidated row in place Resolved: Collection was modified; enumeration operation may not execute