as
The as keyword is a type casting operator used to convert types.
Syntax
myVariable as int32;
Example Code
int16 myVariable = 7;
int32 wider = myVariable as int32;
The as keyword is a type casting operator used to convert types.
myVariable as int32;
int16 myVariable = 7;
int32 wider = myVariable as int32;