textbox提示索引和长度必须引用该字符串内的位置,参数length(在线等答复)
string Version="V0.{0}"; string temp=status.Substring(9,2); int temp1=Convert.ToInt32(temp,16); string temp2=temp1.ToString(); string CheckCmd = string.Format(Version,temp2); ARMVer.Text=CheckCmd; ARMVer.Refresh();