VictorStone

导航

 

2013年11月21日

摘要: static void Main(string[] args) { // 2, 8, 10, 16 进制转换 int i1 = Convert.ToInt32("1111", 2);//1111转换为10进制 15=2(3)+2(2)+2(1)+2(0) int i2 = Convert.ToInt32("32", 8); //32 转换为10进制 26=3*8(1)+2*8(0) int i3 = Convert.ToInt32("AB", 16); //AB 转换为1... 阅读全文
posted @ 2013-11-21 10:43 VictorStone 阅读(257) 评论(0) 推荐(0) 编辑