I am writing a c# application that reads an Excel file and creates in-memory objects against each row found in the Excel worksheet. I have successfully done this using for-loop but would like to use Parallel.Foreach to improve the performance since the Excel file contains over 90,000+ records.
I have previously used Parallel.Foreach on DataTable objects, is there any way I can use it on Excel.Range object? I need to iterate on excel data row by row.
Any examples would help.