In a gridview I have to display data that comes from 5 different tables. I wrote a method that joins my tables using foreach loops to iterate over the data tables. Now I'm thinking about switching to Linq. There is less code involved (20 lines for the Linq query vs about 200 for classic .net code). However, I'm concerned with the performance, both in terms of speed and memory usage. Is Linq faster, or is it slower?
Start Free Trial