コード例 #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");
        }