16进制转10进制:

Convert.ToInt16(0x1a)

 

10进制转16进制:

Convert.ToString(10, 16)

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