16进制转10进制:

Convert.ToInt16(0x1a)

 

10进制转16进制:

Convert.ToString(10, 16)

posted on 2008-08-11 11:36  Dufe王彬  阅读(4995)  评论(0编辑  收藏  举报