示例#1
0
        private static void Main()
        {
            var myApp = new FileReaderClient();

            myApp.ActionRequiringFile(@"..\..\HelloWorld1.txt");
            myApp.ActionRequiringFile(@"..\..\HelloWorld2.txt");
            myApp.ActionRequiring2Files(@"..\..\HelloWorld1.txt", @"..\..\HelloWorld2.txt");
            Console.ReadLine();
        }
示例#2
0
        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();
        }