int a = int.Parse("ff", System.Globalization.NumberStyles.AllowHexSpecifier); int a = Convert.ToInt32("ff", 16)都行
Convert.toInt16();不行就看看Convert的其他方法