System.Numerics Namespace ()

Switch View :
ScriptFree
.NET Framework Class Library
System.Numerics Namespace

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.
Community Content

R Petrusha - MSFT
how can I use it in VS 2008??

How can I use the variables defined in system.numerics.dll $0I added it o my project through add reference but it didn't work :(

Added in the .NET Framework Version 4/Visual Studio 2010

Each version of Visual Studio is tightly coupled with particular versions of the .NET Framework and particular versions of language compilers. Visual Studio 2008 was released along with the .NET Framework Version 3.5, and allows you to develop applications that target the .NET Framework 3.5 as well as previous versions. You cannot use Visual Studio 2008 to target a version of the .NET Framework that was not released at the time Visual Studio 2008 was released.

The System.Numerics.dll assembly and the types in the System.Numerics namespace were released for the first time in the .NET Framework 4, which is tightly coupled with Visual Studio 2010. Therefore, these types are not usable from Visual Studio 2008.

--Ron Petrusha
Common Language Runtime User Education
Microsoft Corporation