/// <summary>
/// 各进制间转化:2,8,10,16
/// </summary>
/// <param name="intValue">要转化的值</param>
/// <param name="fromBase">原进制</param>
/// <param name="toBase">目标进制</param>
/// <returns></returns>
public int ConvertString(string intValue,int fromBase,int toBase){
int a = Convert.ToInt32(intValue,fromBase);
string b = Convert.ToString(a,toBase);
return Convert.ToInt32(b);
}