string path = @"D:\a.txt";
System.IO.StreamWriter swOut = new System.IO.StreamWriter(path, false, System.Text.Encoding.Default);swOut.WriteLine(strA);swOut.Flush();swOut.Close();