Tag - C#

C# Online Editors

This video is about C# online editors used in the browser. I am not talking about C# IDE like Visual Studio or Jetbrains Rider. I...

C# Variables

What Is a Variable? C# variable is something you want the computer to remember while your program is running. Computer programs...

C# DataTypes

C# is a strongly typed language. This means that every variable must have a declared type. string name = "Pirzada"; int age = 35;...

C# Keywords

Identifiers and keyword identifiers are the names used to determine classes, functions, variables, or any item defined by the...

C# Comments

C# Comments are only for you to read, not for the computer to execute. All the comments displayed in the Code Editor are green by...

C# Operators

In C#, symbols such as +, –, *, and / are called operators because they operate, or perform calculations, on one or more...

C# if else Statement

if Statements The C# if else statement is one of the most commonly used control flow statement. With if statements, you can tell...

C# switch Statement

The C# switch statement is a control statement different from the if statement because it evaluates a single expression against a...

Iteration Statements

In any programming language, iteration statement (loop) is a block of code that will repeat itself over and over again until a...

C# while loop

The C# while loop repeatedly executes a block of code inside the loop while the given logical expression is true; otherwise, it...

C# do-while loop

The C# do-while loop is a variant of the while loop except for one main difference: it will always execute the loop body at least...

C# for loop

The C# for loop executes a block of code repeatedly until the condition is false. This type of loop is useful when the number of...