private static void Main() { var myApp = new FileReaderClient(); myApp.ActionRequiringFile(@"..\..\HelloWorld1.txt"); myApp.ActionRequiringFile(@"..\..\HelloWorld2.txt"); myApp.ActionRequiring2Files(@"..\..\HelloWorld1.txt", @"..\..\HelloWorld2.txt"); Console.ReadLine(); }
static void Main(string[] args) { FileReaderClient myApp = new FileReaderClient(); myApp.ActionRequiringFile(@"..\..\HelloWorld1.txt"); myApp.ActionRequiringFile(@"..\..\HelloWorld2.txt"); myApp.ActionRequiring2Files(@"..\..\HelloWorld1.txt", @"..\..\HelloWorld2.txt"); Console.ReadKey(); }