会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
nashah
博客园
首页
新随笔
联系
订阅
管理
2016年4月25日
关于C#里面byte[] datas = httpClient.DownloadData(url)解析url
摘要: 最近写投票软件,用了一个httpclient类,基于.NET里面的webclient写的。 分析微信投票活动的网页时候,下载网页数据,用 httpClient.DownloadData(url) 这个Url必须要以"http://"开头,否则无法解析成功。 这个调用的原型是public byte[]
阅读全文
posted @ 2016-04-25 18:55 nashah
阅读(971)
评论(0)
推荐(0)
编辑
2016年4月5日
c#定义内容为常量字符串的数组
摘要: public static readonly string[] str = new string[3] { "ab", "bc", "cd" }; http://bbs.csdn.net/topics/280070187
阅读全文
posted @ 2016-04-05 20:20 nashah
阅读(6394)
评论(0)
推荐(0)
编辑
2016年4月3日
C# ConcurrentBag与list
摘要: ConcurrentBag<T>与List<T> 我遇到的一个情况是: using System.Collections.Concurrent; class WX { public string wxNo; public string wxPsw; } static public bool Read
阅读全文
posted @ 2016-04-03 17:41 nashah
阅读(2616)
评论(0)
推荐(0)
编辑
公告