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