c#
winsee1
这个作者很懒,什么都没留下…
展开
-
c#发送和接收get,post消息
c#后台获取post消息,get消息就用Request.QueryString[“key”]if (HttpContext.Current.Request.HttpMethod.ToUpper() == "POST") { Stream bs = HttpContext.Current.Request.InputStream; byte[] buff = new byte[bs.Le原创 2016-04-22 16:19:20 · 2966 阅读 · 0 评论 -
C# JSON字符串序列化与反序列化
C#将对象序列化成JSON字符串 public string GetJsonString() { List<Product> products = new List<Product>(){ new Product(){Name="苹果",Price=5.5}, new Product(){Name="橘子",Price=2转载 2016-04-22 16:23:22 · 382 阅读 · 0 评论