コード例 #1
0
ファイル: AddNestedClass_v1.cs プロジェクト: z77ma/runtime
        public string TestMethod()
        {
            var n = new Nested();

            n.f = "123";
            return(n.M());
        }
コード例 #2
0
        public string TestMethod()
        {
            var n = new Nested <string, int>();

            n.Eff  = "123";
            n.g    = 456;
            n.Evt += new Action <string> (n.DefaultHandler);
            n.RaiseEvt();
            return(n.M() + n.buf);
        }