public class Corporation { public string remark { get; set; } public string version { get; set; } public string @operator { get; set; } } public class TenderDoc { public string tenderdocid { get; set; } public Corporation corporation { get; set; } pu…
C#将对象序列化成JSON字符串 public string GetJsonString() { List<Product> products = new List<Product>(){ new Product(){Name="苹果",Price=5.5}, new Product(){Name="橘子",Price=2.5}, new Product(){Name="干柿子",Price=16.00} }; Produ…