X: represents hexadecimal
4: Represents the number of data digits each time. When the number of digits is insufficient, 0 will be automatically added.
string number=1000.ToString("X4");
得出结果03E8
string number=0.ToString("X2");
得出结果00
string number=Convert.ToString(1000,16)
得出结果3E8