Microsoft
Microsoft Logo

Debug C# console applications (Get started with C# Part 6) 

  • Offered byMicrosoft

Debug C# console applications (Get started with C# Part 6)
 at 
Microsoft 
Overview

Duration

5 hours

Start from

Start Now

Total fee

Free

Mode of learning

Online

Schedule type

Self paced

Difficulty level

Beginner

Official Website

Explore Free Course External Link Icon

Credential

Certificate

Details Icon

Debug C# console applications (Get started with C# Part 6)
 at 
Microsoft 
Course details

Skills you will learn
What are the course deliverables?
  • Review the principles of code debugging and exception handling
  • Implement the Visual Studio Code debugging tools for C#
  • Implement exception handling in C# console applications
  • Create and throw exceptions in C# console applications
  • Guided project - Debug and handle exceptions in a C# console application using Visual Studio Code
  • Challenge project - Debug a C# console application using Visual Studio Code
More about this course
  • Learn how to debug C# console applications in Visual Studio Code and how to implement exception handling using the try-catch pattern. Configure the C# debugger tools in Visual Studio Code and use the debugger tools to isolate and fix logic issues. Examine the exception types provided by .NET and the properties of exception objects, then implement exception handling and throw customized exception objects.
  • Write your first code using C# (Get started with C#, Part 1)
  • Create and run simple C# console applications (Get started with C#, Part 2)
  • Add logic to C# console applications (Get started with C#, Part 3)
  • Work with variable data in C# console applications (Get started with C#, Part 4)
  • Create methods in C# console applications (Get started with C#, Part 5)
  • Debug C# console applications (Get started with C#, Part 6)
Read more

Debug C# console applications (Get started with C# Part 6)
 at 
Microsoft 
Curriculum

Review the principles of code debugging and exception handling

Introduction

Get started with testing, debugging, and exception handling

Examine the code debugger approach to debugging code

Examine exceptions and how exceptions are used

Knowledge check

Summary

Implement the Visual Studio Code debugging tools for C#

Introduction

Examine the Visual Studio Code debugger interface

Exercise - Run code in the debug environment

Examine breakpoint configuration options

Exercise - Set breakpoints

Examine the launch configurations file

Configure conditional breakpoints in C#

Exercise - Monitor variables and execution flow

Exercise - Complete a challenge activity using the debugger

Review the solution for the code debugger challenge

Knowledge check

Summary

Implement exception handling in C# console applications

Introduction

Examine exceptions and the exception handling process

Examine compiler-generated exceptions

Exercise - Implement try-catch exception handling

Exercise - Complete a challenge activity for try-catch

Review the solution for the try-catch challenge

Exercise - Catch specific exception types

Exercise - Complete a challenge activity to catch specific exceptions

Review the solution for the catch specific exceptions challenge

Knowledge check

Summary

Create and throw exceptions in C# console applications

Introduction

Examine how to create and throw exceptions in C#

Exercise - Create and throw an exception

Exercise - Complete a challenge activity for creating and throwing exceptions

Review the solution for the create and throw exceptions challenge

Knowledge check

Summary

Guided project - Debug and handle exceptions in a C# console application using Visual Studio Code

Introduction

Prepare

Exercise - Review and test a C# console application using sample data

Exercise - Throw and catch exceptions in a C# console application

Knowledge check

Summary

Challenge project - Debug a C# console application using Visual Studio Code

Introduction

Prepare

Exercise - Use the test data to expose logic issues in a C# console application

Exercise - Use the Visual Studio Code debugger to isolate and fix logic issues in a C# console application

Knowledge check

Summary

Debug C# console applications (Get started with C# Part 6)
 at 
Microsoft 
Entry Requirements

Eligibility criteriaUp Arrow Icon
Conditional OfferUp Arrow Icon
  • Not mentioned

Debug C# console applications (Get started with C# Part 6)
 at 
Microsoft 
Admission Process

    Important Dates

    Nov 30, 2024
    Course Commencement Date

    Other courses offered by Microsoft

    Free
    2 hours
    Intermediate
    Free
    4 hours
    Intermediate
    Free
    5 hours
    Beginner
    Free
    1 hours
    Beginner
    View Other 1171 CoursesRight Arrow Icon
    qna

    Debug C# console applications (Get started with C# Part 6)
     at 
    Microsoft 

    Student Forum

    chatAnything you would want to ask experts?
    Write here...