System.UInt32 Structure

Represents a 32-bit unsigned integer.

See Also: UInt32 Members

Syntax

[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public struct UInt32 : IComparable, IComparable<uint>, IConvertible, IEquatable<uint>, IFormattable

Remarks

The UInt32 value type represents unsigned integers with values ranging from 0 to 4,294,967,295.

Note:

   The uint type is not CLS-compliant. The CLS-compliant alternative type is long. int can be used instead to replace a uint value that ranges from zero to int.MaxValue. For more information about CLS compliance, see Common Language Specification.

UInt32 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.

Thread Safety

This type is safe for multithreaded operations.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0