会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
彩虹下的约定
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
2015年12月14日
C# string 和byte[]之间的转换
摘要: c#将string和byte数组之间互相转换如下方法将字符串转换为byte数组,使用System.Buffer.BlockCopy方法。static byte[] GetBytes(string str){ byte[] bytes = new byte[str.Length * sizeof...
阅读全文
posted @ 2015-12-14 09:53 彩虹下的约定
阅读(1902)
评论(0)
推荐(0)
2015年12月7日
log4net配置
摘要: log4net
阅读全文
posted @ 2015-12-07 14:25 彩虹下的约定
阅读(348)
评论(0)
推荐(1)
2015年11月25日
C#数据类型
摘要: 一、整数类型类型别名允许的值sbyteSystm.SByte介于-128~127之间的整数byteSystm.Byte介于0~255之间的整数shortSystm.Int16介于-32768~32767之间的整数ushortSystm.UInt16介于0~65535之间的整数intSystm.Int...
阅读全文
posted @ 2015-11-25 16:31 彩虹下的约定
阅读(174)
评论(0)
推荐(0)
上一页
1
2
3
4
公告