MinValue Field
Collapse the table of content
Expand the table of content

UInt32.MinValue Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:
© 2017 Microsoft