//16进制->10进制
int intValue=Convert.ToInt32("ffffffff",16);

//10进制->2进制
string bitValue=Convert.ToString(intValue,2);

相关文章: