I am confuse in what is the function of that in C#: =- ??
Can please someone help me and explain to me what it does in C#?
Thanks in advance
can you explain to me a bit more in detail what does it mean to negate a number? let's say foo = 4 ; what would foo = -foo, now mean?
it means that its the opposite of what it is
lets say a = 4
foo = -a //foo = -4
a = -a //a = -4
foo = -a // foo = 4
Thank you DTScode and Disch for taking the time to answer this question. Thank you for the support. I understand it now