iOS Guides | Samples

System.nuint Structure

Native unsigned integer (32-bit in 32-bit platforms, and 64-bit on 64-bit platforms)

See Also: nuint

Syntax

[System.Diagnostics.DebuggerDisplay("{v,nq}")]
public struct nuint : IComparable, IComparable<nuint>, IConvertible, IEquatable<nuint>, IFormattable

Remarks

This data type is a floating point value that uses the natural size of the host architecture to store its value.  On 32-bit systems, this uses UInt32 for storage and on 64-bit systems it uses UInt64 for storage.  

As an optimization, the compiler and runtime have special knowledge of this data type, so while there is no dedicated set of IL instructions to deal with variable-size floating point values, the runtime will transform uses of nfloat into their native underlying representation transparently.

This type is defined in lowercase because it makes it feel like a C# data type when used in C# source code.

Requirements

Namespace: System
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of System.nuint are listed below.

See Also: ValueType

Public Constructors

Public Fields

static readonly
MaxValuenuint.
static readonly
MinValuenuint.
static readonly
SizeInt32.

Public Methods

Public Operators

static
Addition(nuint, nuint)
static
BitwiseAnd(nuint, nuint)
static
BitwiseOr(nuint, nuint)
static
Decrement
static
Division(nuint, nuint)
static
Equality(nuint, nuint)
static
ExclusiveOr(nuint, nuint)
static
GreaterThan(nuint, nuint)
static
GreaterThanOrEqual(nuint, nuint)
static
Increment
static
Inequality(nuint, nuint)
static
LeftShift(nuint, Int32)
static
LessThan(nuint, nuint)
static
LessThanOrEqual(nuint, nuint)
static
Modulus(nuint, nuint)
static
Multiply(nuint, nuint)
static
OnesComplement
static
RightShift(nuint, Int32)
static
Subtraction(nuint, nuint)
static
UnaryPlus
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.Byte(Explicit)
static
Conversion to System.Char(Explicit)
static
Conversion to System.Int16(Explicit)
static
Conversion to System.Int32(Explicit)
static
Conversion to System.Int64(Explicit)
static
Conversion to System.IntPtr(Explicit)
static
Conversion to System.SByte(Explicit)
static
Conversion to System.UInt16(Explicit)
static
Conversion to System.UInt32(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Explicit)
static
Conversion to System.nuint(Implicit)
static
Conversion to System.nuint(Implicit)
static
Conversion to System.Decimal(Implicit)
static
Conversion to System.Double(Implicit)
static
Conversion to System.nfloat(Implicit)
static
Conversion to System.Single(Implicit)
static
Conversion to System.UInt64(Implicit)
static
Conversion to System.nuint(Implicit)
static
Conversion to System.nuint(Implicit)

Explicitly Implemented Interface Members