Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One liner for this
Message
From
25/09/2014 14:30:51
 
 
To
25/09/2014 14:09:06
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01608225
Message ID:
01608293
Views:
30
>>And (i/=2)++ isn't valid.
>>
>Yes, I tried it and crashed.
>I wonder why MS didn't allow that?

Won't even compile : 'The operand of an increment or decrement operator must be a variable, property or indexer'

As to why, I don't know - seems like it would be possible to implement it (but usage in real life would be rare).......
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform