Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-line IF statement in C#
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01026053
Message ID:
01026056
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform