Possible Duplicate:
In C# what is the difference between myInt++ and ++myInt?
Duplicate: In C# what is the difference between myInt++ and ++myInt?
In .NET, please.
Update: can anyone post a sample scenario of which to use, because both looks very similar to me.
i++is a post-increment, meaning this expression returns the original value of i, then increments it.++iis a pre-increment, meaning this expression increments i, and returns the new valueMany languages aside from C# support this expression behaviour.