using System;using System.IO;namespace csharp_station.howto{ class Txt_filewrite { static void Main(string[] args) { TextWriter Txtw= new StreamWriter("Txtw.txt"); Txtw.WriteLine(DateTime.Now); Txtw.Close(); } }}
Login to post response