Esempio n. 1
0
        /// <summary>
        /// 使用DynamicObject来实现动态行为
        /// </summary>
        public void T18D3()
        {
            dynamic dynamicobj = new DynamicType();

            dynamicobj.CallMethod();
            dynamicobj.Name = "jakeChen";
            dynamicobj.Age  = 24;
            Console.Read();
        }