UInt16 Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Represents a 16-bit unsigned integer.
public value class System::UInt16 : IComparable, IComparable, IConvertible, IEquatable, IFormattable
public value class System::UInt16 : IComparable, IConvertible, IEquatable, IParsable, ISpanParsable, IUtf8SpanParsable, System::Numerics::IAdditionOperators, System::Numerics::IAdditiveIdentity, System::Numerics::IBinaryInteger, System::Numerics::IBinaryNumber, System::Numerics::IBitwiseOperators, System::Numerics::IComparisonOperators, System::Numerics::IDecrementOperators, System::Numerics::IDivisionOperators, System::Numerics::IEqualityOperators, System::Numerics::IIncrementOperators, System::Numerics::IMinMaxValue, System::Numerics::IModulusOperators, System::Numerics::IMultiplicativeIdentity, System::Numerics::IMultiplyOperators, System::Numerics::INumber, System::Numerics::INumberBase, System::Numerics::IShiftOperators, System::Numerics::ISubtractionOperators, System::Numerics::IUnaryNegationOperators, System::Numerics::IUnaryPlusOperators, System::Numerics::IUnsignedNumber
public value class System::UInt16 : IComparable, IComparable, IConvertible, IEquatable, ISpanFormattable
public value class System::UInt16 : IComparable, IConvertible, IEquatable, IParsable, ISpanParsable, System::Numerics::IAdditionOperators, System::Numerics::IAdditiveIdentity, System::Numerics::IBinaryInteger, System::Numerics::IBinaryNumber, System::Numerics::IBitwiseOperators, System::Numerics::IComparisonOperators, System::Numerics::IDecrementOperators, System::Numerics::IDivisionOperators, System::Numerics::IEqualityOperators, System::Numerics::IIncrementOperators, System::Numerics::IMinMaxValue, System::Numerics::IModulusOperators, System::Numerics::IMultiplicativeIdentity, System::Numerics::IMultiplyOperators, System::Numerics::INumber, System::Numerics::INumberBase, System::Numerics::IShiftOperators, System::Numerics::ISubtractionOperators, System::Numerics::IUnaryNegationOperators, System::Numerics::IUnaryPlusOperators, System::Numerics::IUnsignedNumber
public value class System::UInt16 : IComparable, IConvertible, IFormattable
public value class System::UInt16 : IComparable, IComparable, IEquatable, IFormattable
[System.CLSCompliant(false)]
public struct UInt16 : IComparable, IComparable, IConvertible, IEquatable, IFormattable
[System.CLSCompliant(false)]
public readonly struct UInt16 : IComparable, IConvertible, IEquatable, IParsable, ISpanParsable, IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber
[System.CLSCompliant(false)]
public readonly struct UInt16 : IComparable, IComparable, IConvertible, IEquatable, IFormattable
[System.CLSCompliant(false)]
public readonly struct UInt16 : IComparable, IComparable, IConvertible, IEquatable, ISpanFormattable
[System.CLSCompliant(false)]
public readonly struct UInt16 : IComparable, IConvertible, IEquatable, IParsable, ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber
[System.CLSCompliant(false)]
[System.Serializable]
public struct UInt16 : IComparable, IConvertible, IFormattable
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct UInt16 : IComparable, IComparable, IConvertible, IEquatable, IFormattable
[System.CLSCompliant(false)]
public struct UInt16 : IComparable, IComparable, IEquatable, IFormattable
[]
type uint16 = struct
interface IConvertible
interface IFormattable
[]
type uint16 = struct
interface IConvertible
interface IFormattable
interface IParsable
interface ISpanFormattable
interface ISpanParsable
interface IUtf8SpanFormattable
interface IUtf8SpanParsable
interface IAdditionOperators
interface IAdditiveIdentity
interface IBinaryInteger
interface IBinaryNumber
interface IBitwiseOperators
interface IComparisonOperators
interface IEqualityOperators
interface IDecrementOperators
interface IDivisionOperators
interface IIncrementOperators
interface IModulusOperators
interface IMultiplicativeIdentity
interface IMultiplyOperators
interface INumber
interface INumberBase
interface ISubtractionOperators
interface IUnaryNegationOperators
interface IUnaryPlusOperators
interface IShiftOperators
interface IMinMaxValue
interface IUnsignedNumber
[]
type uint16 = struct
interface IConvertible
interface ISpanFormattable
interface IFormattable
[]
type uint16 = struct
interface IConvertible
interface IFormattable
interface IParsable
interface ISpanFormattable
interface ISpanParsable
interface IAdditionOperators
interface IAdditiveIdentity
interface IBinaryInteger
interface IBinaryNumber
interface IBitwiseOperators
interface IComparisonOperators
interface IEqualityOperators
interface IDecrementOperators
interface IDivisionOperators
interface IIncrementOperators
interface IModulusOperators
interface IMultiplicativeIdentity
interface IMultiplyOperators
interface INumber
interface INumberBase
interface ISubtractionOperators
interface IUnaryNegationOperators
interface IUnaryPlusOperators
interface IShiftOperators
interface IMinMaxValue
interface IUnsignedNumber
[]
type uint16 = struct
interface IConvertible
interface IFormattable
interface IParsable
interface ISpanFormattable
interface ISpanParsable
interface IAdditionOperators
interface IAdditiveIdentity
interface IBinaryInteger
interface IBinaryNumber
interface IBitwiseOperators
interface IComparisonOperators
interface IEqualityOperators
interface IDecrementOperators
interface IDivisionOperators
interface IIncrementOperators
interface IModulusOperators
interface IMultiplicativeIdentity
interface IMultiplyOperators
interface INumber
interface INumberBase
interface ISubtractionOperators
interface IUnaryNegationOperators
interface IUnaryPlusOperators
interface IUtf8SpanFormattable
interface IUtf8SpanParsable
interface IShiftOperators
interface IMinMaxValue
interface IUnsignedNumber
[]
[]
type uint16 = struct
interface IFormattable
interface IConvertible
[]
[]
[]
type uint16 = struct
interface IFormattable
interface IConvertible
[]
type uint16 = struct
interface IFormattable
Public Structure UInt16
Implements IComparable, IComparable(Of UShort), IConvertible, IEquatable(Of UShort), IFormattable
Public Structure UInt16
Implements IAdditionOperators(Of UShort, UShort, UShort), IAdditiveIdentity(Of UShort, UShort), IBinaryInteger(Of UShort), IBinaryNumber(Of UShort), IBitwiseOperators(Of UShort, UShort, UShort), IComparable(Of UShort), IComparisonOperators(Of UShort, UShort, Boolean), IConvertible, IDecrementOperators(Of UShort), IDivisionOperators(Of UShort, UShort, UShort), IEqualityOperators(Of UShort, UShort, Boolean), IEquatable(Of UShort), IIncrementOperators(Of UShort), IMinMaxValue(Of UShort), IModulusOperators(Of UShort, UShort, UShort), IMultiplicativeIdentity(Of UShort, UShort), IMultiplyOperators(Of UShort, UShort, UShort), INumber(Of UShort), INumberBase(Of UShort), IParsable(Of UShort), IShiftOperators(Of UShort, Integer, UShort), ISpanParsable(Of UShort), ISubtractionOperators(Of UShort, UShort, UShort), IUnaryNegationOperators(Of UShort, UShort), IUnaryPlusOperators(Of UShort, UShort), IUnsignedNumber(Of UShort), IUtf8SpanParsable(Of UShort)
Public Structure UInt16
Implements IComparable, IComparable(Of UShort), IConvertible, IEquatable(Of UShort), ISpanFormattable
Public Structure UInt16
Implements IAdditionOperators(Of UShort, UShort, UShort), IAdditiveIdentity(Of UShort, UShort), IBinaryInteger(Of UShort), IBinaryNumber(Of UShort), IBitwiseOperators(Of UShort, UShort, UShort), IComparable(Of UShort), IComparisonOperators(Of UShort, UShort, Boolean), IConvertible, IDecrementOperators(Of UShort), IDivisionOperators(Of UShort, UShort, UShort), IEqualityOperators(Of UShort, UShort, Boolean), IEquatable(Of UShort), IIncrementOperators(Of UShort), IMinMaxValue(Of UShort), IModulusOperators(Of UShort, UShort, UShort), IMultiplicativeIdentity(Of UShort, UShort), IMultiplyOperators(Of UShort, UShort, UShort), INumber(Of UShort), INumberBase(Of UShort), IParsable(Of UShort), IShiftOperators(Of UShort, Integer, UShort), ISpanParsable(Of UShort), ISubtractionOperators(Of UShort, UShort, UShort), IUnaryNegationOperators(Of UShort, UShort), IUnaryPlusOperators(Of UShort, UShort), IUnsignedNumber(Of UShort)
Public Structure UInt16
Implements IComparable, IConvertible, IFormattable
Public Structure UInt16
Implements IComparable, IComparable(Of UShort), IEquatable(Of UShort), IFormattable
- Inheritance
- Attributes
- Implements
-
IComparable IComparable<UInt16> IConvertible IEquatable<UInt16> IFormattable IComparable
IEquatable IParsable<UInt16> IParsable ISpanFormattable ISpanParsable<UInt16> ISpanParsable IUtf8SpanFormattable IUtf8SpanParsable<UInt16> IUtf8SpanParsable IAdditionOperators<UInt16,UInt16,UInt16> IAdditionOperators IAdditiveIdentity<UInt16,UInt16> IAdditiveIdentity IBinaryInteger<UInt16> IBinaryNumber<UInt16> IBinaryNumber IBitwiseOperators<UInt16,UInt16,UInt16> IBitwiseOperators IComparisonOperators<UInt16,UInt16,Boolean> IComparisonOperators Boolean> IDecrementOperators<UInt16> IDecrementOperatorsIDivisionOperators<UInt16,UInt16,UInt16> IDivisionOperators IEqualityOperators<UInt16,UInt16,Boolean> IEqualityOperators IEqualityOperators Boolean> IIncrementOperators<UInt16> IIncrementOperatorsIMinMaxValue<UInt16> IModulusOperators<UInt16,UInt16,UInt16> IModulusOperators IMultiplicativeIdentity<UInt16,UInt16> IMultiplicativeIdentity IMultiplyOperators<UInt16,UInt16,UInt16> IMultiplyOperators INumber<UInt16> INumber INumberBase<UInt16> INumberBase IShiftOperators<UInt16,Int32,UInt16> IShiftOperators Int32,TSelf> ISubtractionOperators<UInt16,UInt16,UInt16> ISubtractionOperatorsIUnaryNegationOperators<UInt16,UInt16> IUnaryNegationOperators IUnaryPlusOperators<UInt16,UInt16> IUnaryPlusOperators IUnsignedNumber<UInt16>
Remarks
The UInt16 value type represents unsigned integers with values ranging from 0 to 65535.
Important
The UInt16 type is not CLS-compliant. The CLS-compliant alternative type is Int32. Int16 can be used instead to replace a UInt16 value that ranges from zero to Int16.MaxValue. For more information about CLS compliance, see Language Independence and Language-Independent Components.
The UInt16 structure 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.
For information about how format specification codes control the string representation of value types, see Formatting Types.
Fields
| Name | Description |
|---|---|
| MaxValue |
Represents the largest possible value of UInt16. This field is constant. |
| MinValue |
Represents the smallest possible value of UInt16. This field is constant. |
Methods
| Name | Description |
|---|---|
| Clamp(UInt16, UInt16, UInt16) |
Clamps a value to an inclusive minimum and maximum value. |
| CompareTo(Object) |
Compares this instance to a specified object and returns an indication of their relative values. |
| CompareTo(UInt16) |
Compares this instance to a specified 16-bit unsigned integer and returns an indication of their relative values. |
|
CreateChecked |
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type. |
|
CreateSaturating |
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type. |
|
CreateTruncating |
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type. |
| DivRem(UInt16, UInt16) |
Computes the quotient and remainder of two values. |
| Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object. |
| Equals(UInt16) |
Returns a value indicating whether this instance is equal to a specified UInt16 value. |
| GetHashCode() |
Returns the hash code for this instance. |
| GetTypeCode() | |
| IsEvenInteger(UInt16) |
Determines if a value represents an even integral number. |
| IsOddInteger(UInt16) |
Determines if a value represents an odd integral number. |
| IsPow2(UInt16) |
Determines if a value is a power of two. |
| LeadingZeroCount(UInt16) |
Computes the number of leading zeros in a value. |
| Log10(UInt16) | |
| Log2(UInt16) |
Computes the log2 of a value. |
| Max(UInt16, UInt16) |
Compares two values to compute which is greater. |
| Min(UInt16, UInt16) |
Compares two values to compute which is lesser. |
|
Parse(ReadOnlySpan |
Parses a span of UTF-8 characters into a value. |
|
Parse(ReadOnlySpan |
Parses a span of UTF-8 characters into a value. |
|
Parse(ReadOnlySpan |
Parses a span of characters into a value. |
|
Parse(ReadOnlySpan |
Converts the span representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent. |
| Parse(String, IFormatProvider) |
Converts the string representation of a number in a specified culture-specific format to its 16-bit unsigned integer equivalent. |
| Parse(String, NumberStyles, IFormatProvider) |
Converts the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent. |
| Parse(String, NumberStyles) |
Converts the string representation of a number in a specified style to its 16-bit unsigned integer equivalent. This method is not CLS-compliant. The CLS-compliant alternative is Parse(String, NumberStyles). |
| Parse(String) |
Converts the string representation of a number to its 16-bit unsigned integer equivalent. |
| PopCount(UInt16) |
Computes the number of bits that are set in a value. |
| RotateLeft(UInt16, Int32) |
Rotates a value left by a given amount. |
| RotateRight(UInt16, Int32) |
Rotates a value right by a given amount. |
| Sign(UInt16) |
Computes the sign of a value. |
| ToString() |
Converts the numeric value of this instance to its equivalent string representation. |
| ToString(IFormatProvider) |
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information. |
| ToString(String, IFormatProvider) |
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information. |
| ToString(String) |
Converts the numeric value of this instance to its equivalent string representation using the specified format. |
| TrailingZeroCount(UInt16) |
Computes the number of trailing zeros in a value. |
|
TryFormat(Span |
Tries to format the value of the current instance as UTF-8 into the provided span of bytes. |
|
TryFormat(Span |
Tries to format the value of the current unsigned short number instance into the provided span of characters. |
|
TryParse(ReadOnlySpan |
Tries to parse a span of UTF-8 characters into a value. |
|
TryParse(ReadOnlySpan |
Tries to parse a span of UTF-8 characters into a value. |
|
TryParse(ReadOnlySpan |
Tries to convert a UTF-8 character span containing the string representation of a number to its 16-bit unsigned integer equivalent. |
|
TryParse(ReadOnlySpan |
Tries to parse a span of characters into a value. |
|
TryParse(ReadOnlySpan |
Tries to convert the span representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed. |
|
TryParse(ReadOnlySpan |
Tries to convert the span representation of a number to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed. |
| TryParse(String, IFormatProvider, UInt16) |
Tries to parse a string into a value. |
| TryParse(String, NumberStyles, IFormatProvider, UInt16) |
Tries to convert the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed. |
| TryParse(String, UInt16) |
Tries to convert the string representation of a number to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed. |
|
TryParsePartial(ReadOnlySpan |
|
|
TryParsePartial(ReadOnlySpan |
|
| TryParsePartial(String, NumberStyles, IFormatProvider, UInt16, Int32) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
|
IAdditionOperators |
Adds two values together to compute their sum. |
|
IAdditionOperators |
Adds two values together to compute their sum. |
|
IAdditiveIdentity |
Gets the additive identity of the current type. |
|
IBinaryInteger |
Gets the number of bytes that will be written as part of TryWriteLittleEndian(Span |
|
IBinaryInteger |
Gets the length, in bits, of the shortest two's complement representation of the current value. |
|
IBinaryInteger |
|
|
IBinaryInteger |
|
|
IBinaryInteger |
Tries to write the current value, in big-endian format, to a given span. |
|
IBinaryInteger |
Tries to write the current value, in little-endian format, to a given span. |
|
IBinaryNumber |
Gets an instance of the binary type in which all bits are set. |
|
IBitwiseOperators |
Computes the bitwise-and of two values. |
|
IBitwiseOperators |
Computes the bitwise-or of two values. |
|
IBitwiseOperators |
Computes the exclusive-or of two values. |
|
IBitwiseOperators |
Computes the ones-complement representation of a given value. |
| IComparable.CompareTo(Object) |
Compares this instance to a specified object and returns an indication of their relative values. |
|
IComparisonOperators |
Compares two values to determine which is greater. |
|
IComparisonOperators |
Compares two values to determine which is greater or equal. |
|
IComparisonOperators |
Compares two values to determine which is less. |
|
IComparisonOperators |
Compares two values to determine which is less or equal. |
| IConvertible.GetTypeCode() | |
| IConvertible.ToBoolean(IFormatProvider) |
For a description of this member, see ToBoolean(IFormatProvider). |
| IConvertible.ToByte(IFormatProvider) |
For a description of this member, see ToByte(IFormatProvider). |
| IConvertible.ToChar(IFormatProvider) |
For a description of this member, see ToChar(IFormatProvider). |
| IConvertible.ToDateTime(IFormatProvider) |
This conversion is not supported. Attempting to use this method throws an InvalidCastException. |
| IConvertible.ToDecimal(IFormatProvider) |
For a description of this member, see ToDecimal(IFormatProvider). |
| IConvertible.ToDouble(IFormatProvider) |
For a description of this member, see ToDouble(IFormatProvider). |
| IConvertible.ToInt16(IFormatProvider) |
For a description of this member, see ToInt16(IFormatProvider). |
| IConvertible.ToInt32(IFormatProvider) |
For a description of this member, see ToInt32(IFormatProvider). |
| IConvertible.ToInt64(IFormatProvider) |
For a description of this member, see ToInt64(IFormatProvider). |
| IConvertible.ToSByte(IFormatProvider) |
For a description of this member, see ToSByte(IFormatProvider). |
| IConvertible.ToSingle(IFormatProvider) |
For a description of this member, see ToSingle(IFormatProvider). |
| IConvertible.ToType(Type, IFormatProvider) |
For a description of this member, see ToType(Type, IFormatProvider). |
| IConvertible.ToUInt16(IFormatProvider) |
For a description of this member, see ToUInt16(IFormatProvider). |
| IConvertible.ToUInt32(IFormatProvider) |
For a description of this member, see ToUInt32(IFormatProvider). |
| IConvertible.ToUInt64(IFormatProvider) |
For a description of this member, see ToUInt64(IFormatProvider). |
|
IDecrementOperators |
Decrements a value. |
|
IDecrementOperators |
Decrements a value. |
|
IDivisionOperators |
Divides one value by another to compute their quotient. |
|
IEqualityOperators |
Compares two values to determine equality. |
|
IEqualityOperators |
Compares two values to determine inequality. |
|
IIncrementOperators |
Increments a value. |
|
IIncrementOperators |
Increments a value. |
|
IMinMaxValue |
Gets the maximum value of the current type. |
|
IMinMaxValue |
Gets the minimum value of the current type. |
|
IModulusOperators |
Divides two values together to compute their modulus or remainder. |
|
IMultiplicativeIdentity |
Gets the multiplicative identity of the current type. |
|
IMultiplyOperators |
Multiplies two values together to compute their product. |
|
IMultiplyOperators |
Multiplies two values together to compute their product. |
|
INumber |
Copies the sign of a value to the sign of another value. |
|
INumber |
Compares two values to compute which is greater and returning the other value if an input is |
|
INumber |
Compares two values to compute which is lesser and returning the other value if an input is |
|
INumberBase |
Computes the absolute of a value. |
|
INumberBase |
Determines if a value is in its canonical representation. |
|
INumberBase |
Determines if a value represents a complex number. |
|
INumberBase |
Determines if a value is finite. |
|
INumberBase |
Determines if a value represents a pure imaginary number. |
|
INumberBase |
Determines if a value is infinite. |
|
INumberBase |
Determines if a value represents an integral number. |
|
INumberBase |
Determines if a value is NaN. |
|
INumberBase |
Determines if a value is negative. |
|
INumberBase |
Determines if a value is negative infinity. |
|
INumberBase |
Determines if a value is normal. |
|
INumberBase |
Determines if a value is positive. |
|
INumberBase |
Determines if a value is positive infinity. |
|
INumberBase |
Determines if a value represents a real number. |
|
INumberBase |
Determines if a value is subnormal. |
|
INumberBase |
Determines if a value is zero. |
|
INumberBase |
Compares two values to compute which is greater. |
|
INumberBase |
Compares two values to compute which has the greater magnitude and returning the other value if an input is |
|
INumberBase |
Compares two values to compute which is lesser. |
|
INumberBase |
Compares two values to compute which has the lesser magnitude and returning the other value if an input is |
|
INumberBase |
Computes an estimate of ( |
|
INumberBase |
Gets the value |
|
INumberBase |
Gets the radix, or base, for the type. |
|
INumberBase |
|
|
INumberBase |
|
|
INumberBase |
|
|
INumberBase |
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type. |
|
INumberBase |
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type. |
|
INumberBase |
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type. |
|
INumberBase |
Gets the value |
|
IShiftOperators |
Shifts a value left by a given amount. |
|
IShiftOperators |
Shifts a value right by a given amount. |
|
IShiftOperators |
Shifts a value right by a given amount. |
|
ISubtractionOperators |
Subtracts two values to compute their difference. |
|
ISubtractionOperators |
Subtracts two values to compute their difference. |
|
IUnaryNegationOperators |
Computes the checked unary negation of a value. |
|
IUnaryNegationOperators |
Computes the unary negation of a value. |
|
IUnaryPlusOperators |
Computes the unary plus of a value. |
Applies to
Thread Safety
All members of this type are thread safe. Members that appear to modify instance state actually return a new instance initialized with the new value. As with any other type, reading and writing to a shared variable that contains an instance of this type must be protected by a lock to guarantee thread safety.