BigInteger::Inequality Operator (BigInteger, BigInteger)
.NET Framework (current version)
Returns a value that indicates whether two BigInteger objects have different values.
Assembly: System.Numerics (in System.Numerics.dll)
Parameters
- left
-
Type:
System.Numerics::BigInteger
The first value to compare.
- right
-
Type:
System.Numerics::BigInteger
The second value to compare.
The Inequality method defines the operation of the inequality operator for BigInteger values. It enables code such as the following:
Languages that do not support custom operators can test for inequality by using one of the following techniques:
Calling the BigInteger::Compare method, which indicates the relationship between two BigInteger objects.
Calling the BigInteger::Equals(BigInteger) method and reversing its value.
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
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
Show: