Where is my System.Numerics namespace?

前端 未结 2 798
有刺的猬
有刺的猬 2020-11-29 11:50

I\'m using Visual Studio 2010 and trying to use the BigInteger type in a C# program. This type is supposed to be available in System.Numerics name

2条回答
  •  难免孤独
    2020-11-29 12:39

    You need to add an assembly reference to System.Numerics.dll

    The MSDN entry on BigInteger states:

    BigInteger Structure
    ...
    Namespace: System.Numerics
    Assembly: System.Numerics (in System.Numerics.dll)

提交回复
热议问题