UInt128.Implicit Operator

Definition

Overloads

Implicit(Byte to UInt128)

Implicitly converts a Byte value to a 128-bit unsigned integer.

Implicit(Char to UInt128)

Implicitly converts a Char value to a 128-bit unsigned integer.

Implicit(UInt16 to UInt128)

Implicitly converts a UInt16 value to a 128-bit unsigned integer.

Implicit(UInt32 to UInt128)

Implicitly converts a UInt32 value to a 128-bit unsigned integer.

Implicit(UInt64 to UInt128)

Implicitly converts a UInt64 value to a 128-bit unsigned integer.

Implicit(UIntPtr to UInt128)

Implicitly converts a UIntPtr value to a 128-bit unsigned integer.

Implicit(Byte to UInt128)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Implicitly converts a Byte value to a 128-bit unsigned integer.

C#
public static implicit operator UInt128(byte value);

Parameters

value
Byte

The value to convert.

Returns

value converted to a 128-bit unsigned integer.

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

Implicit(Char to UInt128)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Implicitly converts a Char value to a 128-bit unsigned integer.

C#
public static implicit operator UInt128(char value);

Parameters

value
Char

The value to convert.

Returns

value converted to a 128-bit unsigned integer.

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

Implicit(UInt16 to UInt128)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Important

This API is not CLS-compliant.

Implicitly converts a UInt16 value to a 128-bit unsigned integer.

C#
[System.CLSCompliant(false)]
public static implicit operator UInt128(ushort value);

Parameters

value
UInt16

The value to convert.

Returns

value converted to a 128-bit unsigned integer.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

Implicit(UInt32 to UInt128)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Important

This API is not CLS-compliant.

Implicitly converts a UInt32 value to a 128-bit unsigned integer.

C#
[System.CLSCompliant(false)]
public static implicit operator UInt128(uint value);

Parameters

value
UInt32

The value to convert.

Returns

value converted to a 128-bit unsigned integer.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

Implicit(UInt64 to UInt128)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Important

This API is not CLS-compliant.

Implicitly converts a UInt64 value to a 128-bit unsigned integer.

C#
[System.CLSCompliant(false)]
public static implicit operator UInt128(ulong value);

Parameters

value
UInt64

The value to convert.

Returns

value converted to a 128-bit unsigned integer.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

Implicit(UIntPtr to UInt128)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Important

This API is not CLS-compliant.

Implicitly converts a UIntPtr value to a 128-bit unsigned integer.

C#
[System.CLSCompliant(false)]
public static implicit operator UInt128(UIntPtr value);

Parameters

value
UIntPtr

The value to convert.

Returns

value converted to a 128-bit unsigned integer.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9