C# Programming Tutorial Videos Lesson 3: If and Else Statements

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,393
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 29, 2009

Original HQ Video Download with Source: http://www.mediafire.com/file/uimijiknmmc/Lesson3.rar

Youtube's HQ Link:
http://www.youtube.com/watch?v=c4MtiNkn1Hs&feature=channel_page&fmt=18

In this video, you will learn the basics of an if statement within C#

The If is a conditional statement, testing to see if the condition is true, or false, then executing the code block within, in the certain case that the condition is true;

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (babyyoyoboy)

  • TY TY TY TY!!! I bought a freakin $35 book thats recommended and your tuts are at least 100 times better! you should be on youtubes front page :p dude im serious i read that book forlike 2 hours about this stuff and in 15 mins from you i got it down!!! please keep it up!!

  • i applied for partnership with no avail

    i haven't posted a new one in a while, but i have the next video already done, the next set of videos are windows applications

  • OMG! You are so good! Your videos are the best tuts i have ever seen! Keep up the good work!

  • wow, thanks so much, i have more videos to upload, but im too busy to upload them

    the next video in the series is a summary video

    we use lessons 2-5 to make a calculator in console programming =D

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • im doing a project and the program i a writing needs an if i cant think how to type this but if u want il pm you the program in text format

  • I found the problem it was the Console.ReadLine << but now im getting 1 warning and 2 errors warning is Possible Mistaken Empty Statement and the errors are ; expected and the other is invalid expression term 'else'

  • When i click the green arrow (run) the black box just like flicks up the shuts down ? am i doing something wrong,, i have wrote everything you have done

  • could you do an if within if?

  • re: 5:20-5:30

    There's a difference between putting an if block followed by an else if block and putting an if block followed by another if block.

    If the first one does the if block, it will then skip the else if block no matter what (even if the condition in the if block changes to make the else if block part true), - you use that if you know you only want one part of the if/else if set to run no matter what.

    If the second one does the first if block, it can still do the second if block.

  • very good vid, man! I have learned a lot from your videos! Ty so much!!!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more