System.nint Structure
Native signed integer (32-bit in 32-bit platforms, and 64-bit on 64-bit platforms)

See Also: nint Members

Syntax

public struct nint : IComparable, IComparable<nint>, IConvertible, IEquatable<nint>, 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 int for storage and on 64-bit systems it uses long 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