UInt32.MinValue Field

July 28, 2014

Represents the smallest possible value of UInt32. This field is constant.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public const uint MinValue

The value of this constant is 0.

The following example demonstrates how to use the MinValue field to display the smallest possible value of a UInt32 variable.


public class Temperature
{
   public static uint MinValue
   {
      get
      {
         return UInt32.MinValue;
      }
   }

   public static uint MaxValue
   {
      get
      {
         return UInt32.MaxValue;
      }
   }

   // The value holder
   protected uint m_value;

   public uint Value
   {
      get
      {
         return m_value;
      }
      set
      {
         m_value = value;
      }
   }
}


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft