using System; using System.Linq; using System.Data.Linq; using System.IO; namespace ConsoleApplication5 { class Program { static void Main(string[ args) { using (DataClasses1DataContext db = new DataClasses1DataContext()) { StreamWriter sw = new StreamWriter(@"d:\log.txt"); sw.AutoFlush = true;...