Name

UInt32

Synopsis

This structure is the value type for 32-bit unsigned integers (which range from 0 to 4,294,967,295). It is not CLS-compliant (although Int32 is). This structure is also available in C# through the uint alias.

public struct UInt32 : IComparable, IFormattable, IConvertible {
// Public Static Fields
   public const uint MaxValue;           
// =4294967295
   public const uint MinValue;           
// =0
                  // Public Static Methods
   public static uint Parse(string s);
   public static uint Parse(string s, IFormatProvider provider);
   public static uint Parse(string s, System.Globalization.NumberStyles style);
   public static uint Parse(string s, System.Globalization.NumberStyles style, 
        IFormatProvider provider);
// Public Instance Methods
   public int CompareTo(object value);  
// implements IComparable
   public override bool Equals(object obj);          
// overrides ValueType
   public override int GetHashCode( );    
// overrides ValueType
   public TypeCode GetTypeCode( );        
// implements IConvertible
   public override string ToString( );    
// overrides ValueType
   public string ToString(IFormatProvider provider); 
// implements IConvertible
   public string ToString(string format);
   public string ToString(string format, IFormatProvider provider)
// implements IFormattable
}

Hierarchy

Object ValueType UInt32(IComparable, IFormattable, IConvertible)

Returned By

BitConverter.ToUInt32( ), Convert.ToUInt32( ), Decimal.ToUInt32( ), IConvertible.ToUInt32( ), System.IO.BinaryReader.ReadUInt32( ), System.Reflection.AssemblyAlgorithmIdAttribute.AlgorithmId ...

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.