Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
if-else (C#)

Full Name:
if

Short Name:
if

Type of Entity:
C#

Abstract:
The if statement selects a statement for execution based on the value of a Boolean expression. In the following example a Boolean flag flagCheck is set to true and then checked in the if statement. The output is: The flag is set to true.

MSDN Source URL:
http://msdn2.microsoft.com/5011f09h.aspx

 
COPYRIGHT/DISCLAIMER | CONTACT US