12 [__DynamicallyInvokable]
15 private ulong m_value;
18 [__DynamicallyInvokable]
19 public const ulong
MaxValue = 18446744073709551615uL;
22 [__DynamicallyInvokable]
39 ulong num = (ulong)value;
56 [__DynamicallyInvokable]
74 [__DynamicallyInvokable]
75 public override bool Equals(
object obj)
81 return this == (ulong)obj;
89 [__DynamicallyInvokable]
97 [__DynamicallyInvokable]
100 return (
int)
this ^ (int)(
this >> 32);
105 [SecuritySafeCritical]
106 [__DynamicallyInvokable]
115 [SecuritySafeCritical]
116 [__DynamicallyInvokable]
126 [SecuritySafeCritical]
127 [__DynamicallyInvokable]
138 [SecuritySafeCritical]
139 [__DynamicallyInvokable]
151 [CLSCompliant(
false)]
152 [__DynamicallyInvokable]
169 [CLSCompliant(
false)]
170 [__DynamicallyInvokable]
184 [CLSCompliant(
false)]
185 [__DynamicallyInvokable]
203 [CLSCompliant(
false)]
204 [__DynamicallyInvokable]
216 [CLSCompliant(
false)]
217 [__DynamicallyInvokable]
218 public static bool TryParse(
string s, out ulong result)
233 [CLSCompliant(
false)]
234 [__DynamicallyInvokable]
252 [__DynamicallyInvokable]
261 [__DynamicallyInvokable]
270 [__DynamicallyInvokable]
279 [__DynamicallyInvokable]
288 [__DynamicallyInvokable]
297 [__DynamicallyInvokable]
306 [__DynamicallyInvokable]
315 [__DynamicallyInvokable]
324 [__DynamicallyInvokable]
333 [__DynamicallyInvokable]
342 [__DynamicallyInvokable]
351 [__DynamicallyInvokable]
360 [__DynamicallyInvokable]
370 [__DynamicallyInvokable]
380 [__DynamicallyInvokable]
383 return Convert.DefaultToType(
this, type, provider);
float ToSingle(IFormatProvider provider)
Converts the value of this instance to an equivalent single-precision floating-point number using the...
Converts a base data type to another base data type.
static long ToInt64(object value)
Converts the value of the specified object to a 64-bit signed integer.
static bool TryParse(string s, out ulong result)
Tries to convert the string representation of a number to its 64-bit unsigned integer equivalent....
static double ToDouble(object value)
Converts the value of the specified object to a double-precision floating-point number.
int CompareTo(ulong value)
Compares this instance to a specified 64-bit unsigned integer and returns an indication of their rela...
double ToDouble(IFormatProvider provider)
Converts the value of this instance to an equivalent double-precision floating-point number using the...
string ToString(IFormatProvider provider)
Converts the numeric value of this instance to its equivalent string representation using the specifi...
bool ToBoolean(IFormatProvider provider)
Converts the value of this instance to an equivalent Boolean value using the specified culture-specif...
TypeCode
Specifies the type of an object.
string ToString(string format)
Converts the numeric value of this instance to its equivalent string representation using the specifi...
static float ToSingle(object value)
Converts the value of the specified object to a single-precision floating-point number.
static ulong Parse(string s, NumberStyles style)
Converts the string representation of a number in a specified style to its 64-bit unsigned integer eq...
override string ToString()
Converts the numeric value of this instance to its equivalent string representation.
The exception that is thrown for invalid casting or explicit conversion.
string ToString(string format, IFormatProvider provider)
Converts the numeric value of this instance to its equivalent string representation using the specifi...
char ToChar(IFormatProvider provider)
Converts the value of this instance to an equivalent Unicode character using the specified culture-sp...
const ulong MinValue
Represents the smallest possible value of T:System.UInt64. This field is constant.
Represents an instant in time, typically expressed as a date and time of day. To browse the ....
bool Equals(ulong obj)
Returns a value indicating whether this instance is equal to a specified T:System....
DateTime ToDateTime(IFormatProvider provider)
Converts the value of this instance to an equivalent T:System.DateTime using the specified culture-sp...
sbyte ToSByte(IFormatProvider provider)
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture...
Defines a generalized type-specific comparison method that a value type or class implements to order ...
NumberStyles
Determines the styles permitted in numeric string arguments that are passed to the Parse and TryParse...
static char ToChar(object value)
Converts the value of the specified object to a Unicode character.
int CompareTo(object value)
Compares this instance to a specified object and returns an indication of their relative values.
Provides information about, and means to manipulate, the current environment and platform....
static bool ToBoolean(object value)
Converts the value of a specified object to an equivalent Boolean value.
const ulong MaxValue
Represents the largest possible value of T:System.UInt64. This field is constant.
decimal ToDecimal(IFormatProvider provider)
Converts the value of this instance to an equivalent T:System.Decimal number using the specified cult...
int ToInt32(IFormatProvider provider)
Converts the value of this instance to an equivalent 32-bit signed integer using the specified cultur...
static ulong Parse(string s)
Converts the string representation of a number to its 64-bit unsigned integer equivalent.
TypeCode GetTypeCode()
Returns the T:System.TypeCode for value type T:System.UInt64.
Represents a 64-bit unsigned integer.
static ushort ToUInt16(object value)
Converts the value of the specified object to a 16-bit unsigned integer.
object ToType(Type conversionType, IFormatProvider provider)
Converts the value of this instance to an T:System.Object of the specified T:System....
static sbyte ToSByte(object value)
Converts the value of the specified object to an 8-bit signed integer.
Represents type declarations: class types, interface types, array types, value types,...
static ulong Parse(string s, IFormatProvider provider)
Converts the string representation of a number in a specified culture-specific format to its 64-bit u...
static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out ulong result)
Tries to convert the string representation of a number in a specified style and culture-specific form...
ushort ToUInt16(IFormatProvider provider)
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified cult...
static uint ToUInt32(object value)
Converts the value of the specified object to a 32-bit unsigned integer.
short ToInt16(IFormatProvider provider)
Converts the value of this instance to an equivalent 16-bit signed integer using the specified cultur...
static decimal ToDecimal(object value)
Converts the value of the specified object to an equivalent decimal number.
long ToInt64(IFormatProvider provider)
Converts the value of this instance to an equivalent 64-bit signed integer using the specified cultur...
override bool Equals(object obj)
Returns a value indicating whether this instance is equal to a specified object.
The exception that is thrown when one of the arguments provided to a method is not valid.
static byte ToByte(object value)
Converts the value of the specified object to an 8-bit unsigned integer.
Defines a generalized method that a value type or class implements to create a type-specific method f...
static short ToInt16(object value)
Converts the value of the specified object to a 16-bit signed integer.
Specifies that the class can be serialized.
ulong ToUInt64(IFormatProvider provider)
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified cult...
static int ToInt32(object value)
Converts the value of the specified object to a 32-bit signed integer.
byte ToByte(IFormatProvider provider)
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified cultu...
override int GetHashCode()
Returns the hash code for this instance.
Defines methods that convert the value of the implementing reference or value type to a common langua...
static ulong Parse(string s, NumberStyles style, IFormatProvider provider)
Converts the string representation of a number in a specified style and culture-specific format to it...
uint ToUInt32(IFormatProvider provider)
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified cult...