C# <-> Visual Basic .NET | Explicit conversion to 64-bit integer
C#  
explicit conversion to 64-bit integer
Description
( type ) expressionInput
- type - 64-bit integer
- expression - Expressions
Output
- return - 64-bit integer
Examples
C#
Explicit conversion to 64-bit integer the possible of use:xmin = -9223372036854775808; ymax = 9223372036854775807;
long x= -82345;        // x = -82345
long y = -(1512345 / 70);// y = -21604
y = (long)(x * y);     // z = 1778981380.
Visual Basic .NET  Used keywords: clng 
Clng
Description
 Clng (expr)Input
- expr - Any
Output
- return - 64-bit integer
Examples
Visual Basic .NET
Explicit conversion to 64-bit integer the possible of use:xmin = -9223372036854775808
 ymax = 9223372036854775807
Dim x As long= -82345        ' x = -82345
Dim y As long= -(1512345 \ 70)' y = -21604
y = Clng((x * y))     ' z = 1778981380You can find it in the following collections: explicit type conversions
Explicit conversion to 64-bit integer in another programming language:
Differences to: