how to make number positive if negativ in c# if statement code example Example: if number negative c sharp bool positive = number > 0; bool negative = number < 0;