Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BigInteger Constructor (UInt64)

 
clsCompliantAlternativeM:System.Numerics.BigInteger.#ctor(System.Double)

Initializes a new instance of the BigInteger structure with an unsigned 64-bit integer value.

This API is not CLS-compliant.

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

public:
[CLSCompliantAttribute(false)]
BigInteger(
	unsigned long long value
)

Parameters

value
Type: System::UInt64

An unsigned 64-bit integer.

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 UInt64 value to a BigInteger.

The following example uses the BigInteger(UInt64) constructor to instantiate a BigInteger object whose value is equal to MaxValue.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft