摘要:
//方法一:按行读取txt文本 string path = @"G:\Desktop\QuartzSideA-film_1.txt"; StreamReader sr = new StreamReader(path, Encoding.Default); String line; while ((l 阅读全文
摘要:
DateTime dt = DateTime.Now; string filename = dt.ToString("yyyy-MM-dd") + "_log.txt"; string path =System.AppDomain.CurrentDomain.BaseDirectory+ "log\ 阅读全文