string Activestorelist = @"C:\Activestores_default.txt"; var file1 = File.ReadLines(Activestorelist); var file2 = File.ReadAllLines(savePath); var onlyInFileA = file1.Except(file2); File.WriteAllLines(savePath, onlyInFileA);
using System.IO; ... StreamReader file = new StreamReader(@"C:\Activestores_default.txt"); string line; while((line = file.ReadLine()) != null) { // your code here... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)