我有BigInteger
Dim posBigInt As BigInteger = &H27677495
我也有64岁
Dim int_four As Int64 = &H30034003
我想将int64值附加到大整数值,它应该是:
posBigInt = &H2767749530034003
我怎么能做到这一点?
这有点狡猾,但你可以做到这一点:
posBigInt = BigInteger.Parse(posBigInt.ToString("X8") & int_four.ToString("X8"),
NumberStyles.HexNumber)
这是将两个数字首先转换为8位十六进制文本,连接它们然后解析结果。