🌈 搜索
📅  最后修改于: 2022-03-11 14:49:22.760000             🧑  作者: Mango
public class CarClassData : IEnumerable { public IEnumerator GetEnumerator() { yield return new object[] { new Car { Id=1, Price=36000000, Manufacturer = new Manufacturer { Country="country", Name="name" } } }; } IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); }