示例#1
0
文件: Program.cs 项目: KasperSK/I4SWD
        static void Main(string[] args)
        {
            IDoThings myStuff = new DoStuff.DoHickey();
            myStuff.DoNothing();
            myStuff.DoSomething(4);
            myStuff.DoSomethingElse("This is a string");

            myStuff = new DoStuff.DoDickey();
            myStuff.DoNothing();
            myStuff.DoSomething(4);
            myStuff.DoSomethingElse("This is a string");
        }
示例#2
0
文件: Program.cs 项目: KasperSK/I4SWD
        static void Main(string[] args)
        {
            IDoThings myStuff = new DoStuff.DoHickey();

            myStuff.DoNothing();
            myStuff.DoSomething(4);
            myStuff.DoSomethingElse("This is a string");

            myStuff = new DoStuff.DoDickey();
            myStuff.DoNothing();
            myStuff.DoSomething(4);
            myStuff.DoSomethingElse("This is a string");
        }