代码改变世界

A simple method to calc the code processed time

2011-12-31 14:46  barbarossia  阅读(158)  评论(0编辑  收藏  举报

the code is here:

                    using (System.IO.StreamWriter sw = new System.IO.FileInfo("d:\\1.txt").AppendText())
{
sw.WriteLine(DateTime.Now.ToString());
}


 And insert snip code to where needed calc the code.