tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code06:27

C# if statements 🤔

Bro Code ↗

From the creator

C# if else if else statements tutorial example explained #C# #if #statement using System; namespace MyFirstProgram { class Program { static void Main(string[] args) { //if statement = a basic form of decision making Console.WriteLine("Please enter your name: "); String name = Console.ReadLine(); if (name == "") { Console.WriteLine("You did not enter your name!"); } else { Console.WriteLine("Hello " + name); } Console.ReadKey(); } } }

Published 2021-07-03 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code