Programming

Working with Negative Numbers in C#

To convert a negative number to a positive number, use the Abs function. Like this. int myInt = System.Math.Abs(-5); To convert a positive number to

Share