I’ve seen them both being used in numerous pieces of C# code, and I’d like to know when to use i++
or ++i
(i
being a number variable like int
, float
, double
, etc). Anyone who knows this?
I’ve seen them both being used in numerous pieces of C# code, and I’d like to know when to use i++
or ++i
(i
being a number variable like int
, float
, double
, etc). Anyone who knows this?