bool class : Clone() method

Description

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

Syntax

boolInstance.Clone()

Arguments

None

Return value

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

Sample code

//anyBool is a instance of bool type.

bool newInstance = anyBool.Clone();

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.