摘要:
dynamic .net 4.0 动态类型ExpandoObject应用 dynamic Customer = new ExpandoObject(); Customer.Name = "Name001"; Customer.Age = 12; Console.WriteLine(Customer.Name + Customer.Age); 可实现不同类型之间的连接 static T Add<T>(T t1, T t2) { dynamic d1 = t... 阅读全文