We are developing a tool without database. The input is an excel sheet which is having 36000 records. We are having some conditions to satisfy those we are using 8 data tables and for each datatable it is having one foreach and on for loop.Hence for the whole code to execute it is taking more than 2 hours. Hence we are looking for a solution to improve the performance.