Create and run simple C# console applications (Get started with C#, Part 2)

Beginner
Developer
Higher Education Educator
K-12 Educator
Student
.NET
Visual Studio Code

Prerequisites

  • Declare string, numeric, and Boolean variable types in C#.
  • Perform basic string and numeric operations in C#.
  • Write simply formatted string and numeric information to the console.

Modules in this learning path

Learn how to configure Visual Studio Code for C# and how to use this professional IDE to create and run console applications.

Use functionality in the .NET Class Library by calling methods that return values, accept input parameters, and more.

Learn to branch your code's execution path by evaluating Boolean expressions.

Work with sequences of related data in data structures known as arrays. Then, learn to iterate through each item in the sequence.

Write code that is easier to read, update and support using naming conventions, comments and whitespace.

Gain experience developing a console app that implements arrays, foreach loops, and if statements to achieve app specifications.

Demonstrate your ability to update a console app that implements arrays, foreach loops, and if statements in response to a user requested feature update.