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