0

In java there was a difference between ++x and x++ ? Is it also applicable in C#?

17th Jun 2016, 8:28 PM
jazz chakraborty
jazz chakraborty - avatar
3 odpowiedzi
+ 1
@Al Connar x= 2; y = x++; y is now 2 and x 3.
12th Jul 2016, 4:42 PM
Bernhard Eriksson
Bernhard Eriksson - avatar
0
Yup... Pre and post increment operation
29th Jun 2016, 4:52 AM
sandeep pant
sandeep pant - avatar
0
@sandeep pant how does this effect the above? or does it only effect it in some much larger code?
11th Jul 2016, 6:21 PM
Connar
Connar - avatar