晨风

-------------------- 业精于勤,荒于嬉;行成于思,毁于随

导航

2012年11月1日

摘要: public static int Asc(String Data) //获取ASC码 { byte[] b = System.Text.Encoding.Default.GetBytes(Data); int p = 0; if (b.Length == 1) //如果为英文字符直接返回 return (int)b[0]; for (int i = 0; i < b.Length; i += 2) { ... 阅读全文

posted @ 2012-11-01 14:53 shenyixin 阅读(670) 评论(0) 推荐(0) 编辑