问题描述
Productproduct=newProduct(){Name="android",Expiry=DateTime.Now,Price=2000,Sizes=newstring[]{"1.5","2.2","4.1"}};varjson=JsonConvert.SerializeObject(product);MessageBox.Show(json);
解决方案
时间: 2024-12-31 13:03:35
Productproduct=newProduct(){Name="android",Expiry=DateTime.Now,Price=2000,Sizes=newstring[]{"1.5","2.2","4.1"}};varjson=JsonConvert.SerializeObject(product);MessageBox.Show(json);