Dave Zych
  • Home
  • About
  • Contact
  • Privacy

postfix

A collection of 1 post
decrement

What's the Difference Between i++ and ++i in C#?

There’s common confusion between the difference of the Prefix (++i) and Postfix (i++) increment operators in C#. A common explanation would be that “The Prefix operator increases iprior to running the statement and the Postfix operator increases iafter running the statement.” Although this is the perceived functionality, it’s
Jun 18, 2013 2 min read
Page 1 of 1
Dave Zych © 2025
  • Data & privacy
  • Contact
Powered by Ghost