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