negative number as integer c# code example Example: c# make a negative number positive myInt = myInt * -1