示例#1
0
文件: Program.cs 项目: weffer/C-
        static void Main(string[] args)
        {
            dynamic person = new Expando();

            // The following does not run correctly. Implement DynamicObject
            // on the Expando class to make it run fine.

            person.Name = "Bart";

            string name = person.Name;

            Console.WriteLine(name);
        }