摘要:
1、建立一个文本文件public class FileClass{ public static void Main() { WriteToFile(); } static void WriteToFile() { StreamWriter SW; SW = File.CreateText(@"c:MyTextFile.txt"); SW.WriteLine("God is greatest of them all"); SW.WriteLine("This is second line"); SW.Close(); Console.W 阅读全文
posted @ 2011-11-09 11:48
javait03
阅读(3511)
评论(0)
推荐(0)
浙公网安备 33010602011771号