Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One liner for this
Message
De
25/09/2014 16:14:17
 
 
À
25/09/2014 14:26:20
John Baird
Coatesville, Pennsylvanie, États-Unis
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:
01608303
Vues:
40
>>>And (i/=2)++ isn't valid.
>>>
>>Yes, I tried it and crashed.
>>I wonder why MS didn't allow that?
>
>Because it doesn't always evaluate to an integer.
This ran OK, John
 decimal i = 16.5M;
 i ++ ;
  
 MessageBox.Show(i.ToString());
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform