16进制转10进制: Convert.ToInt16(0x1a) 10进制转16进制: Convert.ToString(10, 16) 转载于:https://www.cnblogs.com/wangbin/archive/2008/08/11/1265050.html