int class : Clone() method
Description
Gets a new instance with the same value as the calling instance.
Syntax
intInstance.Clone()
Arguments
None
Return value
Class | Description |
int | A new instance with the same value as the calling instance. |
Sample code
//anyInt is a instance of int type.
int newInstance = anyInt.Clone();
Notes
None
Links for reference
None