07:31C# if statements 🤔
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.





