A question about the post-++
I just begin to learn C#,and before that,i have learnded C++.
I want to konw How to achieve the operator post-++(in C#).
I know in C++ ,for exp:
int a = 0;
int b = a++;
is the same as:
int a = 0;
int temp = a;
a += 1;
int b = temp;
In C#,post-++ has a lower priority than operator =,so how would the post-++ work?( Sorry for my poor English:-) )
My suppose is:
int a = 0;
int b = a;
a +=1;
|