This program is in response to the assignment:
\"Create a method named Sum() that accepts any number of integer parameters and displays their sum. Writ
Sum()
You can't write (q == 1) in C#, because q is a bool and 1 is an int.
(q == 1)
q
bool
1
int
q can only be compared to another boolean expression, e.g. true, false, another boolean variable, etc.
true
false