0 Hi,
why r u assigning the string line with first and second line at a time
/Read the 1st line of recycle.txt
string line = sr.ReadLine();
//Read the 2nd line of recycle.txt
line = sr.ReadLine();
//Read the 1st line of objectRef.txt
string line2 = sr2.ReadLine();
//Read the 2nd line of objectRef.txt
line2 = sr2.ReadLine();
here line,line2 will have the second lines from both the textfiles
what is the logic