Convert.ToInt64 Method (Int64)

 

Returns the specified 64-bit signed integer; no actual conversion is performed.

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

static member ToInt64 : 
        value:int64 -> int64

Parameters

value
Type: System.Int64

A 64-bit signed integer.

Return Value

Type: System.Int64

value is returned unchanged.

The following example converts each element in an array of integers to a long integer.

No code example is currently available or this language may not be supported.

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: