var products1 = new List<Product> {
new Product { Name = "Apple", Price = 2 }};
var products2 = from product in products1
select new { product.Name, product.Price };
foreach (var p in products1)
Console.WriteLine(p);
foreach (var p in products2)
Console.WriteLine(p);
为什么第二个打印“{ Name = Apple, Price = 2 }”?