次の方法で共有


System.Numerics Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

The System.Numerics namespace contains numeric types that complement the numeric primitives, such as Byte, Double, and Int32, that are defined by the .NET Framework.

This namespace includes the following types:

  • The BigInteger structure, which is a nonprimitive integral type that supports arbitrarily large integers. An integral primitive such as Byte or Int32 includes a MinValue and a MaxValue property, which define the lower bound and upper bound supported by that data type. In contrast, the BigInteger structure has no lower or upper bound, and can contain the value of any integer.

  • The Complex structure, which represents a complex number. A complex number is a number in the form a + bi, where a is the real part, and b is the imaginary part.

Structures

  Structure Description
Public structure BigInteger Represents an arbitrarily large signed integer.
Public structure Complex Represents a complex number.