c#
Mcvcv
努力变强!
展开
-
在C#中,Json的序列化和反序列化的几种方式总结
在这篇文章中,我们将会学到如何使用C#,来序列化对象成为Json格式的数据,以及如何反序列化Json数据到对象。什么是JSON?JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write and easy for machines转载 2017-10-20 13:42:25 · 491 阅读 · 0 评论 -
C# Server.Mappath 寻找本地文件地址
C#中 public static string MapPath(string strPath) { if (HttpContext.Current != null) { return HttpContext.Current.Server.MapPath(strPath);原创 2017-11-08 09:26:10 · 694 阅读 · 2 评论