Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-line IF statement in C#
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01026053
Message ID:
01026056
Vues:
25
The "and" doesn't give you a problem? Thinking you want to use "&&" instead. This can span multiple lines
if((1 == 1)
    && (2 ==2))
{
     Console.WriteLine("Good To Go!");
}
Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform