Foundation.NSNumber: Method Members

The methods of Foundation.NSNumber are listed below. For a list of all members, see the NSNumber Members list.

See Also: Inherited members from Foundation.NSValue

Public Methods

Compare(NSNumber) : nint
Compares this to another number and returns a value indicating whether it is less than, equal, or greater than this.
CompareTo(NSNumber) : int
Documentation for this section has not yet been entered.
CompareTo(object) : int
Documentation for this section has not yet been entered.
DescriptionWithLocale(NSLocale) : string
Returns a localized description of this number.
Equals(NSNumber) : bool
Documentation for this section has not yet been entered.
override
Equals(object) : bool
Documentation for this section has not yet been entered.
static
FromBoolean(bool) : NSNumber
Factory method that creates a number from a bool.
static
FromByte(byte) : NSNumber
Factory method to create a number from a byte.
static
FromDouble(double) : NSNumber
Factory method to create a number from a double.
static
FromFloat(float) : NSNumber
Factory method to create a number from a float.
static
FromInt16(short) : NSNumber
Factory method to create a number from a short.
static
FromInt32(int) : NSNumber
Factory method to create a number from an int.
static
FromInt64(long) : NSNumber
Factory method to create a number from a long.
static
FromLong(nint) : NSNumber
Documentation for this section has not yet been entered.
static
FromNFloat(nfloat) : NSNumber
Documentation for this section has not yet been entered.
static
FromNInt(nint) : NSNumber
Documentation for this section has not yet been entered.
static
FromNUInt(nuint) : NSNumber
Documentation for this section has not yet been entered.
static
FromSByte(sbyte) : NSNumber
Factory method to create a number from an sbyte.
static
FromUInt16(ushort) : NSNumber
Factory method to create a number from a ushort.
static
FromUInt32(uint) : NSNumber
Factory method to create a number from a uint.
static
FromUInt64(ulong) : NSNumber
Factory method to create a number from a ulong.
static
FromUnsignedLong(nuint) : NSNumber
Documentation for this section has not yet been entered.
override
GetHashCode() : int
Generates a hash code for the current instance.
override
ToString() : string
Returns a string representation of the value of the current instance.