C# Programming: Lesson 4.  if Statement (part 1) @ComputerScienceLessons
C# Programming: Lesson 4.  if Statement (part 1)  @ComputerScienceLessons
Uploaded June 2023 | Updated November 2026, 3 hours ago
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
C# Programming: Lesson 4.  if Statement (part 1)C# Programming: Lesson 1. Simple OutputC# Programming: Lesson 11.  More about ArraysGoogle Street View Location Guessing GameOperating System Functions 3: MultitaskingBuild a Quiz with AIWireless Communication – Four: ModulationVisual Basic.NET Programming. Beginner Lesson 16. Condition Controlled LoopsBinary 6 – Normalised Floating Point Binary FractionsWireless Communication – Six: Pulse ShapingBeam forming (and vibe coding)Linear Algebra for Computer Scientists.  4. Scalar Multiplication of Vectors
Computer Science Lessons |

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER