long class : Clone() method

Description

Gets a new instance with the same value as the calling instance.

Syntax

longInstance.Clone()

Arguments

None

Return value

ClassDescription
longA new instance with the same value as the calling instance.

Sample code

//anyLong is a instance of long type.

long newInstance = anyLong.Clone();

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.