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.
.LessThanOrEqual Operator (BigInteger, Int64)
Returns a value that indicates whether a
value is less than or equal to a 64-bit signed integer. BigInteger
public static bool operator <=(
System .Boolean if true left is less than or equal to right; otherwise, . false
method defines the operation of the less than or equal to operator for LessThanOrEqual values. It enables code such as the following: BigInteger
BigInteger number = 9801324316220166912;
if (number <= Int64.MaxValue)
// Do something.
// Do something else.
Languages that do not support custom operators can call the
method instead. They can also call the BigInteger .CompareTo(Int64) method directly, as the following example shows. LessThanOrEqual(BigInteger, Int64)
Dim number As BigInteger = 9801324316220166912ul
If BigInteger.op_LessThanOrEqual(number, Int64.MaxValue) Then
' Do something.
' Do something else.
right is a , Byte , Int16 , Int32 , SByte , or UInt16 value, it is implicitly converted to an UInt32 value when the operation is performed. Int64 Silverlight
Supported in: 5, 4
( 1500 characters remaining)
Thank you for your feedback