摘要:
C#中使用JSON不需要使用第三方库,使用.NET Framwork3.5自带的System.Runtime.Serialization.Json即可很好的完成JSON的解析。 阅读全文
posted @ 2008-11-25 19:44
CoderZh
阅读(67838)
评论(7)
推荐(5)
摘要:
WebClient位于System.Net命名空间下,通过这个类可以方便的创建Http请求并获取返回内容。 一、用法1 - DownloadData Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->string uri = "http://c... 阅读全文
posted @ 2008-11-25 17:32
CoderZh
阅读(32973)
评论(1)
推荐(2)
摘要:
老是忘记。。。 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->str = Encoding.UTF8.GetString(bytes) bytes = Encoding.Default.GetBytes(str) 阅读全文
posted @ 2008-11-25 17:27
CoderZh
阅读(954)
评论(0)
推荐(0)