I want to know if it is recommended to use LINQ to objects for do something for each row in a DataTable, or it gets me bad performance comparison to do simple for-each loop on DataTable's rows. I love use LINQ because it is nicer code, but I don't
want get bad performance.
In simple words, what is the more recommended code:
1. Use simple ForEach loop
2. Use LINQ foreach
myDataTable.AsEnumerable().ToList().ForEach(row => row =