Remove particular rows using LINQ

On first it depends on the mutually agreed skill sets of the development team, and how / if LINQ is allowed

when there is no need to touch the left side (e.g. toupper, trim) then Filter DataTable can be used

When there is a need to touch the left side (eg toupper, trim) then a data cleansing is needed or can be done directly within the LINQ (we have seen abover, toupper, trim).

So it depends on other factors, when to use LINQ or not

2 Likes