发布网友 发布时间:2022-05-09 20:42
共1个回答
热心网友 时间:2023-10-18 17:19
摘要如果你想绕过这一点,继续,你可以使用Try...Catch...声明For Each h1 As Char In PRIM_BIT.ToCharArray Try rawbit = Convert.ToString(Convert.ToInt32(h1, 16), 2) pribitval = pribitval & StrDup(4 - rawbit.Length, "0") & rawbit Catch ex As Exception 'Do something when error occurs. Or simply do nothing. End Try Next咨询记录 · 回答于2021-12-22microsoft+visual+studio输入字符串的格式不正确您好,您的问题我已经看到了,正在整理答案,请稍等一会儿哦~如果你想绕过这一点,继续,你可以使用Try...Catch...声明For Each h1 As Char In PRIM_BIT.ToCharArray Try rawbit = Convert.ToString(Convert.ToInt32(h1, 16), 2) pribitval = pribitval & StrDup(4 - rawbit.Length, "0") & rawbit Catch ex As Exception 'Do something when error occurs. Or simply do nothing. End Try Next