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();

05-04 00:16