Boolean Expressions A boolean expression is any expression that evaluates to, or returns, a boolean value. Boolean Type The bool data type can be either true or false and is based on the concept that the validity of all logical statements must be either true or false. Booleans Read More …
Day: May 24, 2020
Part 2: Data Types and Variables
Write Line The Console.WriteLine() method is used to print text to the console. It can also be used to print other data types and values stored in variables. Variables and Types In C#, a variable is a way to store data in Read More …
Part 1: Hello World
Read Line The Console.ReadLine() method is used to get user input. The user input can be stored in a variable. This method can also be used to prompt the user to press enter on the keyboard. C C# is a general-purpose, type-safe, object-oriented programming Read More …