Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Min Method

BigInteger::Min Method

Returns the smaller of two BigInteger values.

Namespace:  System.Numerics
Assemblies:   System.Runtime.Numerics (in System.Runtime.Numerics.dll)
  System.Numerics (in System.Numerics.dll)

public:
static BigInteger Min(
	BigInteger left, 
	BigInteger right
)

Parameters

left
Type: System.Numerics::BigInteger

The first value to compare.

right
Type: System.Numerics::BigInteger

The second value to compare.

Return Value

Type: System.Numerics::BigInteger
The left or right parameter, whichever is smaller.

This method corresponds to the Math::Min method for primitive numeric types.

The following example uses the Min method to select the smallest number in an array of BigInteger values.

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft