I have a file of 2 columns .How I get the difference between them and put the output in a new file in c#? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have a file of 2 columns .How I get the difference between them and put the output in a new file in c#?

13th Feb 2017, 5:04 PM
Doaa Mohamed
Doaa Mohamed - avatar
1 Answer
+ 1
There is a static function from the File class within the System.IO namespace called ReadAllLines("path file here"). Which reads the entire file and also CLOSES it for you which is not common. Anyway i recommend you to check out the MSDN reference page for more info.
14th Feb 2017, 12:31 AM
Ousmane Diaw