Export (0) Print
Expand All

UInt64.MaxValue Field

Represents the largest possible value of UInt64. This field is constant.

This field is not CLS-compliant.  

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

public const ulong MaxValue
public static final UInt64 MaxValue
public const var MaxValue : ulong

The value of this constant is 18,446,744,073,709,551,615; that is, hexadecimal 0xFFFFFFFFFFFFFFFF.

public class Temperature {
    public static ulong MinValue {
        get {
            return UInt64.MinValue;
        }
    }

    public static ulong MaxValue {
        get {
            return UInt64.MaxValue;
        }
    }

    // The value holder
    protected ulong m_value;

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

}

public class Temperature
{
    /** @property 
     */
    public static long get_MinValue()
    {
        return System.Convert.ToInt64(UInt64.MinValue);
    } //get_MinValue

    /** @property 
     */
    public static long get_MaxValue()
    {
        return System.Convert.ToInt64(UInt64.MaxValue);
    } //get_MaxValue

    // The value holder
    protected long mValue;

    /** @property 
     */
    public long get_Value()
    {
        return mValue;
    } //get_Value

    /** @property 
     */
    public void set_Value(long value)
    {
        mValue = value;
    } //set_Value
} //Temperature

public class Temperature {
    public static function get MinValue() : ulong {
        return UInt64.MinValue;
    }

    public static function get MaxValue() : ulong {
        return UInt64.MaxValue;
    }

    // The value holder
    protected var m_value : ulong ;

    public function get Value() : ulong {
        return m_value;
            }
            
            public function set Value(value : ulong) {                        
        m_value = value;
    }

}

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft