make number negative c# code example Example: find negative version of integer in c# myInt = myInt * -1