BigInteger Constructor (UInt32)
Initializes a new instance of the BigInteger structure using an unsigned 32-bit integer value.
Assembly: System.Numerics (in System.Numerics.dll)
Parameters
- value
- Type: System::UInt32
An unsigned 32-bit integer value.
There is no loss of precision when instantiating a BigInteger using this constructor.
The BigInteger value that results from calling this constructor is identical to the value that results from assigning a UInt32 value to a BigInteger.
The following example uses the BigInteger(UInt32) constructor and an assignment statement to initialize BigInteger values from an array of unsigned 32-bit integers. It then compares the two values to demonstrate that the two methods of initializing a BigInteger value produce identical results.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.