Hi friends can any body tell me how can i move a whole statement matching with the search string to a new file in C# any help is appreciated please...

what do you need exactly?? to know how to search, match or to write in file?

hi ramy i have 2 csv file and i want that i have to read a no from one file then search that same no from the second file and copy the whole record to a new file and then delete that no's of record from the second file and again pick a next record from the first file and search that no from the second file and this loop continues till the second file contains no record and at the end i will have the another file with the required sorted output.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.