Input and Output

Let's understand how a C# program gets input and gives output.

Console applications are great for demonstrating computer concepts, which is why this course focuses on them. They can easily output text and accept user input.

How to show output

The Write and WriteLine functions can both be used to output text in a console application. The example below demonstrates how to enter a text between the quotes so that it ...