예제 #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");
        }