Video Tutorial Library:

C# 101 :

C# If Statement

Tags: C# , 2003 , Language , Beginning
if (x > y) { // Your code here } Or ... if (x > y) { // Your code here } else { // Alternative code here }
The If statement is a staple in virtually all programming languages because it allows us to conditionally branch our programming logic by evaluating conditions. We look into the If statement, the Else statement, and how to accomodate multiple lines of code using a curly bracket.

Downloads:

Sign up today to access downloads.
C# If Statement
Duration: 5 Minutes, 46 Seconds
Size: 712.37K
Recorded Using: All Versions

Get Free Videos via Email

Sign up for our newsletter and receive links to free videos and more.

Subscribe

We don't rent/sell/or commit other evil deeds with your email address. See our Privacy Policy.