Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One liner for this
Message
De
25/09/2014 14:30:51
 
 
À
25/09/2014 14:09:06
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01608225
Message ID:
01608293
Vues:
28
>>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).......
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform