asp.net.ph

UInt64 Structure

System Namespace


Represents a 64-bit unsigned integer.

UInt64 Class Members

Collapse   Fields

Visibility Name Type
public static const MaxValue UInt64
public static const MinValue UInt64

Collapse   Methods

Visibility Name Parameters Return Type
public CompareTo ( UInt64 value ) Int32
public CompareTo ( Object value ) Int32
public Equals ( UInt64 obj ) Boolean
public Equals ( Object obj ) Boolean
public GetHashCode ( ) Int32
public GetTypeCode ( ) TypeCode
public static Parse ( String s ) UInt64
public static Parse ( String s , IFormatProvider provider ) UInt64
public static Parse ( String s , NumberStyles style , IFormatProvider provider ) UInt64
public static Parse ( String s , NumberStyles style ) UInt64
public ToString ( String format ) String
public ToString ( ) String
public ToString ( String format , IFormatProvider provider ) String
public ToString ( IFormatProvider provider ) String
public static TryParse ( String s , UInt64& result ) Boolean
public static TryParse ( String s , NumberStyles style , IFormatProvider provider , UInt64& result ) Boolean

Remarks

The UInt64 value type represents unsigned integers with values ranging from 0 to 184,467,440,737,095,551,615.

UInt64 provides methods to compare instances of this type, convert the value of an instance to its String representation, and convert the String representation of a number to an instance of this type.

NOTE: The UInt64 type is not CLS-compliant. The CLS-compliant alternative type is Decimal. Int64 can be used when the original value is less than half of UInt64.MaxValue.

For information about how format specification codes control the String representation of value types, see Formatting Base Types.

This type implements interfaces IComparable, IFormattable, and IConvertible. Use the Convert class for conversions instead of this type's explicit interface member implementation of IConvertible.

CAUTION: Assigning a 64-bit value on a 32-bit Intel computer is not an atomic operation; that is, the operation is not threadsafe. This means that if two people simultaneously assign a value to a static UInt64 field, the final value of the field cannot be predicted.

See Also

Int64 Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph