摘要: (1)与关键字冲突,解决办法加@ var a = new { @class=1, }; var d = JsonConvert.SerializeObject(a); Console.WriteLine(d); output {"class":1} (2)接参数,dynamic神搭配! var a 阅读全文
posted @ 2024-01-12 19:20 JohnYang819 阅读(25) 评论(0) 推荐(0) 编辑