Export (0) Print
Expand All

UInt32.MinValue Field

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;
      }
   }
}


Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft