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

Field Value

Type: System.UInt32

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: