コード例 #1
0
ファイル: partial1.cs プロジェクト: sblom/sandbox
 public static int Main(string[] args)
 {
     Base pt1 = new PartialTest();
     IFoo pt2 = new PartialTest();
     Console.WriteLine("pt1 is a {0}", pt1.GetType());
     Console.WriteLine("pt2 is a {0}", pt2.GetType());
     return 0;
 }
コード例 #2
0
        public static void ExecuteExample()
        {
            PartialTest testPartial = new PartialTest();

            testPartial.Method1();
            testPartial.Method2();
            testPartial.Method3();
            testPartial.MethodPartialTest1();
            testPartial.MethodPartialTest2();
        }