c# - PropertyInfo set value List<object>
问题 PropertyInfo set value List<object> show error in convert list <object> I tried to convert to json and I couldn't public class PurchaseBill { public DateTime Date { get; set; } public string Type { get; set; } public string BillType { get; set; } public List<PurchaseProduct> Listproduct { get; set; } } public class PurchaseProduct { public Int64 id { get; set; } public String itemId { get; set; } public String image { get; set; } } code convert MySqlDataReader to list public static List<T>