dynamic p = new ExpandoObject(); //像?var p1=2;
p.Name = "tom";
p.Age = 30;
p.Email = "ab@sss.com";
Console.WriteLine(p.Email);
Console.WriteLine(p.Emil);
.NET 4.0 动态语言特性
dynamic p = new ExpandoObject(); //像?var p1=2;
p.Name = "tom";
p.Age = 30;
p.Email = "ab@sss.com";
Console.WriteLine(p.Email);
Console.WriteLine(p.Emil);
.NET 4.0 动态语言特性