Create and run simple C# console applications (Get started with C# Part 2)
- Offered byMicrosoft
Create and run simple C# console applications (Get started with C# Part 2) at Microsoft Overview
Duration | 6 hours |
Total fee | Free |
Mode of learning | Online |
Schedule type | Self paced |
Difficulty level | Beginner |
Official Website | Explore Free Course |
Credential | Certificate |
Create and run simple C# console applications (Get started with C# Part 2) at Microsoft Course details
- Install and configure Visual Studio Code
- Call methods from the .NET Class Library using C#
- Add decision logic to your code using `if`, `else`, and `else if` statements in C#
- Store and iterate through sequences of data using Arrays and the foreach statement in C#
- Create readable code with conventions, whitespace, and comments in C#
- Guided project - Develop foreach and if-elseif-else structures to process array data in C#
- Challenge project - Develop foreach and if-elseif-else structures to process array data in C#
- Use Visual Studio Code to develop C# console applications that implement arrays, foreach loops, and if statements
Create and run simple C# console applications (Get started with C# Part 2) at Microsoft Curriculum
Install and configure Visual Studio Code
Introduction
Exercise - Download and install Visual Studio Code
Examine the Visual Studio Code user interface
Exercise - Explore the Visual Studio Code user interface
Exercise - Configure Visual Studio Code Extensions
Exercise - Install the .NET SDK
Exercise - Create, build, and run your application
Knowledge check
Summary
Call methods from the .NET Class Library using C#
Introduction
Get started with .NET Libraries
Exercise - Call the methods of a .NET Class
Exercise - Return values and input parameters of methods
Exercise - Complete a challenge activity to discover and implement a method call
Review the solution to the discover and implement a method call challenge activity
Knowledge check
Summary
Add decision logic to your code using `if`, `else`, and `else if` statements in C#
Introduction
Exercise - Create decision logic with if statements
Exercise - Create nested decision logic with if, else if, and else
Exercise - Complete a challenge activity to apply business rules
Review the solution to the apply business rules challenge activity
Knowledge check
Summary
Store and iterate through sequences of data using Arrays and the foreach statement in C#
Introduction
Exercise - Get started with array basics
Exercise - Implement the foreach statement
Exercise - Complete a challenge activity for nested iteration and selection statements
Review the solution for the nested iteration and selection statements challenge activity
Knowledge check
Summary
Create readable code with conventions, whitespace, and comments in C#
Introduction
Choose variable names that follow rules and conventions
Exercise - Create effective code comments
Exercise - Use whitespace to make your code easier to read
Exercise - Complete a challenge activity to improve code readability
Review the solution to the improve code readability challenge activity
Knowledge check
Summary
Guided project - Develop foreach and if-elseif-else structures to process array data in C#
Introduction
Prepare
Exercise - Create arrays and foreach loops
Exercise - Construct a nested loop structure for student grade calculations
Exercise - Implement code branches using selection statements
Knowledge check
Summary
Challenge project - Develop foreach and if-elseif-else structures to process array data in C#
Introduction
Prepare
Exercise - Update your formatted output
Exercise - Update your calculated values
Knowledge check
Summary