Part – 2: Syntax

Code structure The first thing we’ll study is the building blocks of code. Statements Statements are syntax constructs and commands that perform actions. We’ve already seen a statement, alert(‘Hello, world!’), which shows the message “Hello, world!”. We can have as many 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 …