Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Struct

UInt64

struct ulong

Module: System
Assembly: System.Runtime.dll
Source file: UInt64.rvn

Inheritance: Object → ValueType → UInt64
Implements: EquatableTo<UInt64>, Formattable, Number

A unsigned 64-bit integer.

Properties

2 items
Static member: One: ulong Development: gets one for this numeric type.
Static member: Zero: ulong Development: gets zero for this numeric type.

Methods

11 items
CompareTo(other: Self) -> int Compares this value with the other value; returns a negative integer, zero or a positive integer for less than, equal to or greater than. Required implementation (no default). Defined by ComparableTo<Self>.CompareTo · Defined by ComparableTo<Self>.CompareTo
CompareTo(other: ulong) -> int Compares this value with the other value; returns a negative integer, zero or a positive integer for less than, equal to or greater than.
Equals(other: ulong) -> bool Tests equality with another value of the same type without boxing. Implements EquatableTo<UInt64>.Equals
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
Static member: Parse(text: string, culture: Culture) -> Result<ulong, NumberParseError> Parses explicit culture punctuation with strict three-digit grouping; whitespace is not accepted.
Static member: Parse(value: string) -> Result<ulong, NumberParseError> Parses the complete text using the strict, culture-independent grammar.
ToString(format: string, culture: Culture) -> string Formats with explicit culture; unsupported formats or precision fault. Implements Formattable.ToString
ToString(format: string) -> string Formats with the current culture using empty/G/G0, D, F or N; precision is 0–99.
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString

Operators

4 items
Static member: operator +(left: ulong, right: ulong) -> ulong Development: Adds two values.
Static member: operator /(left: ulong, right: ulong) -> ulong Development: Divides left by right.
Static member: operator *(left: ulong, right: ulong) -> ulong Development: Multiplies two values.
Static member: operator -(left: ulong, right: ulong) -> ulong Development: Subtracts right from left.