using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace file
{
class Program
{
static void Main(string[] args)
{
string path = "my_text.txt";
if (!File.Exists(path))
{
StreamWriter sw = new StreamWriter(path);
sw.WriteLine("hello");
sw.Close();
}
}
}
}
using System.Linq;
using System.Text;
using System.IO;
namespace file
{
class Program
{
static void Main(string[] args)
{
string path = "my_text.txt";
if (!File.Exists(path))
{
StreamWriter sw = new StreamWriter(path);
sw.WriteLine("hello");
sw.Close();
}
}
}
}
good ...keep it up
ReplyDeleteThanks ....
Delete