+ 1

How to overload ++ operator postfix and Prefix in c#

I'm trying to implement operator overload on complex class that increment complex numbers but there is a difference between postfix and Prefix increment. How can I differentiate between them. Can someone help with code snippet?

7th Mar 2020, 1:40 PM
Ahmed Kareem Ebraheem
Ahmed Kareem Ebraheem - avatar
0 Respuestas