Pre- & Post Increment in C#
x– will be 4, but will be 3 at the moment of –x, so it will end being 2, then you’ll have x = 4 – 2 btw, your first case will be x = 4 + 6 Here is a small example that will print out the values for each part, maybe this way … Read more