04 2022 档案
摘要:一、Json-->JObject 例1: { "姓名":"小明", "年龄":18, "性别":"男", } 对应的JObject JObject Person = new JObject(); Person.Add(new JProperty("姓名", "小明")); Person.Add(ne
阅读全文
摘要:public class A { } public static class B { public static void setError(this A a,int errorCode)//定义类A的扩展方法,前面是类型后面是参数 { } } public class C { public voi
阅读全文