UInt16
MaxValue
MinValue
Clamp(UInt16, UInt16, UInt16)
CompareTo(Object)
CompareTo(UInt16)
CreateChecked<TOther>(TOther)
CreateSaturating<TOther>(TOther)
CreateTruncating<TOther>(TOther)
DivRem(UInt16, UInt16)
Equals(Object)
Equals(UInt16)
GetHashCode()
GetTypeCode()
IsEvenInteger(UInt16)
IsOddInteger(UInt16)
IsPow2(UInt16)
LeadingZeroCount(UInt16)
Log2(UInt16)
Max(UInt16, UInt16)
Min(UInt16, UInt16)
Parse(String)
Parse(String, IFormatProvider)
Parse(String, NumberStyles)
Parse(String, NumberStyles, IFormatProvider)
Parse(ReadOnlySpan<Byte>, IFormatProvider)
Parse(ReadOnlySpan<Char>, IFormatProvider)
Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)
Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)
PopCount(UInt16)
RotateLeft(UInt16, Int32)
RotateRight(UInt16, Int32)
Sign(UInt16)
ToString()
ToString(IFormatProvider)
ToString(String)
ToString(String, IFormatProvider)
TrailingZeroCount(UInt16)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryParse(String, UInt16)
TryParse(String, IFormatProvider, UInt16)
TryParse(String, NumberStyles, IFormatProvider, UInt16)
TryParse(ReadOnlySpan<Byte>, UInt16)
TryParse(ReadOnlySpan<Char>, UInt16)
TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt16)
TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt16)
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt16)
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt16)
net9.0
namespace System
{
[CLSCompliant(false)]
public readonly struct UInt16 : IComparable, IComparable<ushort>, IConvertible, IEquatable<ushort>, IFormattable, IParsable<ushort>, ISpanFormattable, ISpanParsable<ushort>, IUtf8SpanFormattable, IUtf8SpanParsable<ushort>, IAdditionOperators<ushort, ushort, ushort>, IAdditiveIdentity<ushort, ushort>, IBinaryInteger<ushort>, IBinaryNumber<ushort>, IBitwiseOperators<ushort, ushort, ushort>, IComparisonOperators<ushort, ushort, bool>, IDecrementOperators<ushort>, IDivisionOperators<ushort, ushort, ushort>, IEqualityOperators<ushort, ushort, bool>, IIncrementOperators<ushort>, IMinMaxValue<ushort>, IModulusOperators<ushort, ushort, ushort>, IMultiplicativeIdentity<ushort, ushort>, IMultiplyOperators<ushort, ushort, ushort>, INumber<ushort>, INumberBase<ushort>, IShiftOperators<ushort, int, ushort>, ISubtractionOperators<ushort, ushort, ushort>, IUnaryNegationOperators<ushort, ushort>, IUnaryPlusOperators<ushort, ushort>, IUnsignedNumber<ushort>
{
public static ushort CreateTruncating<TOther>(TOther value)
where TOther, INumberBase<TOther>!;
}
}
.NET | 7.08.09.0 |
---|---|
Information specific to net9.0 | |
Assembly | System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API