What does x+ mean in C sharp? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What does x+ mean in C sharp?

How do you solve x+=x++ ? what logical operqtion is it?

25th May 2017, 3:57 PM
Stepanek Kloucek
Stepanek Kloucek - avatar
1 Answer
+ 4
'a += b' is a short term of a = a + b so x += x++ means x = x + x++. And the value of x will be multiplied by 2.
25th May 2017, 4:05 PM
OrbitHv [Inactive]
OrbitHv [Inactive] - avatar