IT. Expert System.

C#

ulong


The ulong keyword denotes an integral type that stores values according to the size and range shown in the following range===0 to 18,446,744,073,709,551,615

Syntax:
ulong variable = value;


Example:

using System;

class Program
{
    static void Main()
    {
	//
	// Declare ulong variable.
	//
	ulong value1 = 100;
	Console.WriteLine(value1);

	// This won't compile:
	// value1 = -1;

	//
	// Look at MaxValue and MinValue.
	//
	Console.WriteLine(ulong.MaxValue);
	Console.WriteLine(ulong.MinValue);

	//
	// Parse string into ulong type.
	//
	ulong value2 = ulong.Parse("100");
	Console.WriteLine(value2);

	//
	// Compare two ulong values.
	//
	Console.WriteLine(value1 == value2);

	//
	// Write the typeof operator result.
	//
	Console.WriteLine(typeof(ulong));
    }
}

Output

100
18446744073709551615 <-- max
0                    <-- min
100
true
system.uint64


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 109 / 158850773. Delta: 0.00160 с