public static void Main() { string file = @"test.txt"; //与.exe在同一个文件夹 FileWrite.WriteData(file); Console.WriteLine("\n"); FileRead.ReadData(file); }
public static void Test() { FileRead fr = new FileRead(); fr.ReadData(); }