BigInteger MembersSSH .NET Client Library Documentation

The BigInteger type exposes the following members.
Constructors

  NameDescription
Public methodBigInteger( Byte )
Initializes a new instance of the BigInteger struct.
Public methodBigInteger(Decimal)
Initializes a new instance of the BigInteger struct.
Public methodBigInteger(Double)
Initializes a new instance of the BigInteger struct.
Public methodBigInteger(Int32)
Initializes a new instance of the BigInteger struct.
Public methodBigInteger(Int64)
Initializes a new instance of the BigInteger struct.
Public methodBigInteger(Single)
Initializes a new instance of the BigInteger struct.
Public methodBigInteger(UInt32)
Initializes a new instance of the BigInteger struct.
Public methodBigInteger(UInt64)
Initializes a new instance of the BigInteger struct.
Public methodBigInteger(Int16,  UInt32 )
Initializes a new instance of the BigInteger struct.
Back to Top
Methods

  NameDescription
Public methodStatic memberAbs
Gets the absolute value of a System.Numerics.BigInteger object.
Public methodStatic memberAdd
Adds two System.Numerics.BigInteger values and returns the result.
Public methodStatic memberCompare
Compares two System.Numerics.BigInteger values and returns an integer that indicates whether the first value is less than, equal to, or greater than the second value.
Public methodCompareTo(Int64)
Compares this instance to a signed 64-bit integer and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the signed 64-bit integer.
Public methodCompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(UInt64)
Compares this instance to an unsigned 64-bit integer and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the unsigned 64-bit integer.
Public methodCompareTo(BigInteger)
Compares this instance to a second System.Numerics.BigInteger and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.
Public methodStatic memberDivide
Divides one System.Numerics.BigInteger value by another and returns the result.
Public methodStatic memberDivRem
Divides one System.Numerics.BigInteger value by another, returns the result, and returns the remainder in an output parameter.
Public methodEquals(Int64)
Returns a value that indicates whether the current instance and a signed 64-bit integer have the same value.
Public methodEquals(Object)
Returns a value that indicates whether the current instance and a specified object have the same value.
(Overrides OnlineValueType Equals(Object).)
Public methodEquals(UInt64)
Returns a value that indicates whether the current instance and an unsigned 64-bit integer have the same value.
Public methodEquals(BigInteger)
Returns a value that indicates whether the current instance and a specified System.Numerics.BigInteger object have the same value.
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetHashCode
Returns the hash code for the current System.Numerics.BigInteger object.
(Overrides OnlineValueType GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberGreatestCommonDivisor
Finds the greatest common divisor of two System.Numerics.BigInteger values.
Public methodStatic memberLog(BigInteger)
Returns the natural (base e) logarithm of a specified number.
Public methodStatic memberLog(BigInteger, Double)
Returns the logarithm of a specified number in a specified base.
Public methodStatic memberLog10
Returns the base 10 logarithm of a specified number.
Public methodStatic memberMax
Returns the larger of two System.Numerics.BigInteger values.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberMin
Returns the smaller of two System.Numerics.BigInteger values.
Public methodStatic memberModInverse
Mods the inverse.
Public methodStatic memberModPow
Performs modulus division on a number raised to the power of another number.
Public methodStatic memberMultiply
Returns the product of two System.Numerics.BigInteger values.
Public methodStatic memberNegate
Negates a specified System.Numerics.BigInteger value.
Public methodStatic memberParse(String, NumberStyles)
Converts the string representation of a number in a specified style to its System.Numerics.BigInteger equivalent.
Public methodStatic memberParse(String, IFormatProvider)
Converts the string representation of a number in a specified culture-specific format to its System.Numerics.BigInteger equivalent.
Public methodStatic memberParse(String, NumberStyles, IFormatProvider)
Converts the string representation of a number in a specified style and culture-specific format to its BigInteger equivalent.
Public methodStatic memberPositiveMod
Returns positive remainder that results from division with two specified BigInteger values.
Public methodStatic memberPow
Raises a System.Numerics.BigInteger value to the power of a specified value.
Public methodStatic memberRandom
Generates random BigInteger number
Public methodStatic memberRemainder
Performs integer division on two System.Numerics.BigInteger values and returns the remainder.
Public methodStatic memberSubtract
Subtracts one System.Numerics.BigInteger value from another and returns the result.
Public methodToByteArray
Converts a System.Numerics.BigInteger value to a byte array.
Public methodToString 
Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation.
(Overrides OnlineValueType ToString .)
Public methodToString(IFormatProvider)
Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation by using the specified culture-specific formatting information.
Public methodToString(String)
Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation by using the specified format.
Public methodToString(String, IFormatProvider)
Converts the numeric value of the current System.Numerics.BigInteger object to its equivalent string representation by using the specified format and culture-specific format information.
Public methodStatic memberTryParse(String, BigInteger )
Tries to convert the string representation of a number to its System.Numerics.BigInteger equivalent, and returns a value that indicates whether the conversion succeeded.
Public methodStatic memberTryParse(String, NumberStyles, CultureInfo, BigInteger )
Tries to convert the string representation of a number in a specified style and culture-specific format to its System.Numerics.BigInteger equivalent, and returns a value that indicates whether the conversion succeeded.
Back to Top
Operators

  NameDescription
Public operatorStatic memberAddition
Adds the values of two specified BigInteger objects.
Public operatorStatic memberBitwiseAnd
Performs a bitwise And operation on two BigInteger values.
Public operatorStatic memberBitwiseOr
Performs a bitwise Or operation on two BigInteger values.
Public operatorStatic memberDecrement
Decrements a BigInteger value by 1.
Public operatorStatic memberDivision
Divides a specified BigInteger value by another specified BigInteger value by using integer division.
Public operatorStatic memberEquality(Int64, BigInteger)
Returns a value that indicates whether a signed long integer value and a System.Numerics.BigInteger value are equal.
Public operatorStatic memberEquality(UInt64, BigInteger)
Returns a value that indicates whether an unsigned long integer value and a System.Numerics.BigInteger value are equal.
Public operatorStatic memberEquality(BigInteger, BigInteger)
Returns a value that indicates whether the values of two System.Numerics.BigInteger objects are equal.
Public operatorStatic memberEquality(BigInteger, Int64)
Returns a value that indicates whether a System.Numerics.BigInteger value and a signed long integer value are equal.
Public operatorStatic memberEquality(BigInteger, UInt64)
Returns a value that indicates whether a System.Numerics.BigInteger value and an unsigned long integer value are equal.
Public operatorStatic memberExclusiveOr
Performs a bitwise exclusive Or (XOr) operation on two BigInteger values.
Public operatorStatic member (Decimal to BigInteger)
Defines an explicit conversion of a OnlineDecimal object to a System.Numerics.BigInteger value.
Public operatorStatic member (Double to BigInteger)
Defines an explicit conversion of a OnlineDouble value to a System.Numerics.BigInteger value.
Public operatorStatic member (Single to BigInteger)
Defines an explicit conversion of a OnlineSingle object to a System.Numerics.BigInteger value.
Public operatorStatic member (BigInteger to Single)
Defines an explicit conversion of a System.Numerics.BigInteger object to a single-precision floating-point value.
Public operatorStatic member (BigInteger to UInt64)
Defines an explicit conversion of a System.Numerics.BigInteger object to an unsigned 64-bit integer value.
Public operatorStatic member (BigInteger to Int32)
Defines an explicit conversion of a System.Numerics.BigInteger object to a 32-bit signed integer value.
Public operatorStatic member (BigInteger to UInt32)
Defines an explicit conversion of a System.Numerics.BigInteger object to an unsigned 32-bit integer value.
Public operatorStatic member (BigInteger to Int16)
Defines an explicit conversion of a System.Numerics.BigInteger object to a 16-bit signed integer value.
Public operatorStatic member (BigInteger to Double)
Defines an explicit conversion of a System.Numerics.BigInteger object to a OnlineDouble value.
Public operatorStatic member (BigInteger to Byte)
Defines an explicit conversion of a System.Numerics.BigInteger object to an unsigned byte value.
Public operatorStatic member (BigInteger to Int64)
Defines an explicit conversion of a System.Numerics.BigInteger object to a 64-bit signed integer value.
Public operatorStatic member (BigInteger to UInt16)
Defines an explicit conversion of a System.Numerics.BigInteger object to an unsigned 16-bit integer value.
Public operatorStatic member (BigInteger to Decimal)
Defines an explicit conversion of a System.Numerics.BigInteger object to a OnlineDecimal value.
Public operatorStatic member (BigInteger to SByte)
Defines an explicit conversion of a System.Numerics.BigInteger object to a signed 8-bit value.
Public operatorStatic memberGreaterThan(Int64, BigInteger)
Returns a value that indicates whether a 64-bit signed integer is greater than a System.Numerics.BigInteger value.
Public operatorStatic memberGreaterThan(UInt64, BigInteger)
Returns a value that indicates whether a System.Numerics.BigInteger value is greater than a 64-bit unsigned integer.
Public operatorStatic memberGreaterThan(BigInteger, BigInteger)
Returns a value that indicates whether a System.Numerics.BigInteger value is greater than another System.Numerics.BigInteger value.
Public operatorStatic memberGreaterThan(BigInteger, Int64)
Returns a value that indicates whether a System.Numerics.BigInteger is greater than a 64-bit signed integer value.
Public operatorStatic memberGreaterThan(BigInteger, UInt64)
Returns a value that indicates whether a System.Numerics.BigInteger value is greater than a 64-bit unsigned integer.
Public operatorStatic memberGreaterThanOrEqual(Int64, BigInteger)
Returns a value that indicates whether a 64-bit signed integer is greater than or equal to a System.Numerics.BigInteger value.
Public operatorStatic memberGreaterThanOrEqual(UInt64, BigInteger)
Returns a value that indicates whether a 64-bit unsigned integer is greater than or equal to a System.Numerics.BigInteger value.
Public operatorStatic memberGreaterThanOrEqual(BigInteger, BigInteger)
Returns a value that indicates whether a System.Numerics.BigInteger value is greater than or equal to another System.Numerics.BigInteger value.
Public operatorStatic memberGreaterThanOrEqual(BigInteger, Int64)
Returns a value that indicates whether a System.Numerics.BigInteger value is greater than or equal to a 64-bit signed integer value.
Public operatorStatic memberGreaterThanOrEqual(BigInteger, UInt64)
Returns a value that indicates whether a System.Numerics.BigInteger value is greater than or equal to a 64-bit unsigned integer value.
Public operatorStatic member (Byte to BigInteger)
Defines an implicit conversion of an unsigned byte to a System.Numerics.BigInteger value.
Public operatorStatic member (Int16 to BigInteger)
Defines an implicit conversion of a signed 16-bit integer to a System.Numerics.BigInteger value.
Public operatorStatic member (Int32 to BigInteger)
Defines an implicit conversion of a signed 32-bit integer to a System.Numerics.BigInteger value.
Public operatorStatic member (Int64 to BigInteger)
Defines an implicit conversion of a signed 64-bit integer to a System.Numerics.BigInteger value.
Public operatorStatic member (SByte to BigInteger)
Defines an implicit conversion of an 8-bit signed integer to a System.Numerics.BigInteger value.
Public operatorStatic member (UInt16 to BigInteger)
Defines an implicit conversion of a 16-bit unsigned integer to a System.Numerics.BigInteger value.
Public operatorStatic member (UInt32 to BigInteger)
Defines an implicit conversion of a 32-bit unsigned integer to a System.Numerics.BigInteger value.
Public operatorStatic member (UInt64 to BigInteger)
Defines an implicit conversion of a 64-bit unsigned integer to a System.Numerics.BigInteger value.
Public operatorStatic memberIncrement
Increments a BigInteger value by 1.
Public operatorStatic memberInequality(Int64, BigInteger)
Returns a value that indicates whether a 64-bit signed integer and a BigInteger value are not equal.
Public operatorStatic memberInequality(UInt64, BigInteger)
Returns a value that indicates whether a 64-bit unsigned integer and a BigInteger value are not equal.
Public operatorStatic memberInequality(BigInteger, BigInteger)
Returns a value that indicates whether two BigInteger objects have different values.
Public operatorStatic memberInequality(BigInteger, Int64)
Returns a value that indicates whether a BigInteger value and a 64-bit signed integer are not equal.
Public operatorStatic memberInequality(BigInteger, UInt64)
Returns a value that indicates whether a BigInteger value and a 64-bit unsigned integer are not equal.
Public operatorStatic memberLeftShift
Shifts a BigInteger value a specified number of bits to the left.
Public operatorStatic memberLessThan(Int64, BigInteger)
Returns a value that indicates whether a 64-bit signed integer is less than a BigInteger value.
Public operatorStatic memberLessThan(UInt64, BigInteger)
Returns a value that indicates whether a 64-bit unsigned integer is less than a BigInteger value.
Public operatorStatic memberLessThan(BigInteger, BigInteger)
Returns a value that indicates whether a BigInteger value is less than another BigInteger value.
Public operatorStatic memberLessThan(BigInteger, Int64)
Returns a value that indicates whether a BigInteger value is less than a 64-bit signed integer.
Public operatorStatic memberLessThan(BigInteger, UInt64)
Returns a value that indicates whether a BigInteger value is less than a 64-bit unsigned integer.
Public operatorStatic memberLessThanOrEqual(Int64, BigInteger)
Returns a value that indicates whether a 64-bit signed integer is less than or equal to a System.Numerics.BigInteger value.
Public operatorStatic memberLessThanOrEqual(UInt64, BigInteger)
Returns a value that indicates whether a 64-bit unsigned integer is less than or equal to a System.Numerics.BigInteger value.
Public operatorStatic memberLessThanOrEqual(BigInteger, BigInteger)
Returns a value that indicates whether a System.Numerics.BigInteger value is less than or equal to another System.Numerics.BigInteger value.
Public operatorStatic memberLessThanOrEqual(BigInteger, Int64)
Returns a value that indicates whether a System.Numerics.BigInteger value is less than or equal to a 64-bit signed integer.
Public operatorStatic memberLessThanOrEqual(BigInteger, UInt64)
Returns a value that indicates whether a System.Numerics.BigInteger value is less than or equal to a 64-bit unsigned integer.
Public operatorStatic memberModulus
Returns the remainder that results from division with two specified BigInteger values.
Public operatorStatic memberMultiply
Multiplies two specified BigInteger values.
Public operatorStatic memberOnesComplement
Returns the bitwise one's complement of a BigInteger value.
Public operatorStatic memberRightShift
Shifts a System.Numerics.BigInteger value a specified number of bits to the right.
Public operatorStatic memberSubtraction
Subtracts a BigInteger value from another BigInteger value.
Public operatorStatic memberUnaryNegation
Negates a specified BigInteger value.
Public operatorStatic memberUnaryPlus
Returns the value of the BigInteger operand. (The sign of the operand is unchanged.)
Back to Top
Properties

  NameDescription
Public propertyBitLength
Gets number of bits used by the number.
Public propertyIsEven
Indicates whether the value of the current System.Numerics.BigInteger object is an even number.
Public propertyIsOne
Indicates whether the value of the current System.Numerics.BigInteger object is System.Numerics.BigInteger.One.
Public propertyIsPowerOfTwo
Indicates whether the value of the current System.Numerics.BigInteger object is a power of two.
Public propertyIsZero
Indicates whether the value of the current System.Numerics.BigInteger object is System.Numerics.BigInteger.Zero.
Public propertyStatic memberMinusOne
Gets a value that represents the number negative one (-1).
Public propertyStatic memberOne
Gets a value that represents the number one (1).
Public propertySign
Gets a number that indicates the sign (negative, positive, or zero) of the current System.Numerics.BigInteger object.
Public propertyStatic memberZero
Gets a value that represents the number 0 (zero).
Back to Top
See Also