Skip to main content

One doc tagged with "writeline"

View all tags

Basic Console Input and Output in C#

Welcome to a new series on building your first .NET console applications! We'll start with the most fundamental building blocks of any interactive program: getting input from the user and displaying output. In C#, this is primarily handled by the Console.ReadLine() and Console.WriteLine() methods.