I have to compare two csv files of different record count and write the differences in new csv file.
Say for example csv1 has 225000 records and csv2 has 300000 records.
My approach is as below -
read two csv files and output to two datatables say DT1 and DT2.
Take first record in DT1 and loop through all the records in DT2 and proceed to next record of DT1 and scan all across DT2 and so on.
Issue im facing is , Uipath Robot is not responding!!
I even tried removing matching records in datatable while iterating through the loop but it doesnt help
Please suggest a better way to compare files of different length
Uipath is not responding because there is a lot data and when you are looping one to one row it would take around 225000 x 300000 iterations to complete the process.
You better use either select function or use Linq to match data