C# Programming: Lesson 4. if Statement (part 1)

Published: 04 June 2023
on channel: Computer Science Lessons
1,537
27

This is the fourth in a series of computer science lessons about programming with C# for beginners. In this lesson you will learn how to use the if statement. The if statement is a selection construct that allows you to execute blocks of code conditionally, that is, how to run specific groups of instructions depending on the outcome of a test. You will learn about the syntax of the if statement including the else if and else clauses. You will also learn how to use relational and logical operators when creating conditions for the if statement.
Chapters:
00:00 Introduction
00:45 if statement
03:47 else if
05:28 else
06:25 Testing numeric values
07:45 Relational operators
09:16 Logical operator AND
13:11 Exercise
14:10 Solution


On this page of the site you can watch the video online C# Programming: Lesson 4. if Statement (part 1) with a duration of hours minute second in good quality, which was uploaded by the user Computer Science Lessons 04 June 2023, share the link with friends and acquaintances, this video has already been watched 1,537 times on youtube and it was liked by 27 viewers. Enjoy your viewing!