Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addition - fun - not what I thought
Message
 
 
To
05/07/2009 14:14:01
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01410144
Message ID:
01410183
Views:
35
>
>First (i += 2)  sets i = 3
>Second (i += 2)  sets i = 5
>
>Then
>j = 2 + 3 + 5
>
Yes, I figured that, but more logically it would be

j = 2 + 5 + 5
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform