using
System;
using
System.Collections.Generic;
using
System.IO;
using
System.Linq;
using
System.Text;
using
System.Threading.Tasks;
namespace
ProTestService
{
class
Program
{
static
void
Main(string[]
args)
{
string
path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);
path
= Path.Combine(path.Replace("file:\\",
""),
"test.txt");
using
(StreamWriter
newTask = new
StreamWriter(path,
true))
{
newTask.WriteLine("ProTestService
calisma zamani--> " +DateTime.Now.ToString());
}
}
}
}
Comments
Post a Comment