艹,老是忘!!! var obj = new { Name="lily",Age=12}; 记录一下,var obj = new { Name="lily",Age=12}; 转载于:https://www.cnblogs.com/willingtolove/p/9179668.html