Assuming you're just trying to write to a file...
using System;
using System.IO;
namespace DW_408731_CS_CON
{
class Program
{
static void Main(string[] args)
{
string[] arr_strData = { "230", "", ".01;.02;.03", "IPB", "10", "", "", "", "", "" };
string strTempFile = Path.GetTempFileName();
Console.WriteLine("Writing all lines to: " + strTempFile);
File.WriteAllLines(strTempFile, arr_strData);
Console.WriteLine("Press enter to delete the temp file");
Console.ReadLine();
File.Delete(strTempFile);
}
}
}
thines01
Postaholic
2,433 posts since Oct 2009
Reputation Points: 447
Solved Threads: 408
Skill Endorsements: 7