摘要: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>局部打印案例</title> <script type="text/javascrip 阅读全文
posted @ 2020-08-28 14:22 无奈0528 阅读(1525) 评论(0) 推荐(0)
摘要: //序列化对象 Student one = new Student() { ID = 1, Name = "武松", Age = 250, Sex = "男" }; //序列化 string jsonData = JsonConvert.SerializeObject(one); Console.W 阅读全文
posted @ 2020-05-20 14:20 无奈0528 阅读(422) 评论(0) 推荐(0)
摘要: /// <summary> /// 获取枚举描述 /// </summary> /// <param name="en">枚举</param> /// <returns>返回枚举的描述 </returns> public static string GetDescription(Enum en) { 阅读全文
posted @ 2020-05-15 15:27 无奈0528 阅读(218) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_29291085/article/details/77489342 阅读全文
posted @ 2020-04-30 10:07 无奈0528 阅读(866) 评论(0) 推荐(0)