Mono missing System.Numerics.BigInteger.Parse(string,IFormatProvider)

前端 未结 4 1405
栀梦
栀梦 2021-01-11 18:39

I\'m currently getting the following error using the Json.NET/Newtonsoft.JSON library:

Missing method System.Numerics.BigInteger::Parse(string,IFormatProvide         


        
4条回答
  •  南方客
    南方客 (楼主)
    2021-01-11 18:56

    Have you tried any other method for converting strings to ints? I usually use Convert.ToInt32(//string) or if you want huge ints, then use Convert.ToInt64(//string)

    Otherwise, check out. The TryParse() function is pretty handy:

    http://www.dotnetperls.com/convert-string-int

提交回复
热议问题