i++ or i+=1 or i= i+1 which one is better for good performance
- by Ram
I have 3 options to increment value of an integer by 1 in a C# application
i++
i+=1
i=i+1
The result of all three operations would be same but I would like to know which one would be the best to use if I need to use this statement in an application where the performance is critical.