public static void WriteText1(string FileName, List<string> ltData)
{
foreach(string data in ltData)
{
System.IO.File.AppendAllText(FileName, data);
}
}
public static void WriteText2(string FileName, List<string> ltData)
{
var Res = "";
foreach (string data in ltData)
{
Res += data;
}
System.IO.File.WriteAllText(FileName, Res);
}