Debugging in C#
Offered By: LinkedIn Learning
Course Description
Overview
Debugging helps you build more accurate, efficient, and reliable C# applications. Learn how to debug your C# code using Visual Studio Code.
Syllabus
Introduction
- Debugging in C#
- What you should know
- How to use CoderPad
- What is debugging?
- What is a print statement?
- What is a breakpoint?
- Inspecting values of variables
- Execution in debug mode
- The debugging process
- Solution: Find the bug in string truncation
- Covering edge cases
- Defensive programming
- Side effects
- Solution: Discount calculator
- NullReferenceException
- IndexOutOfRangeException
- Logical errors
- Using a reference like a value
- Solution: Library management system
- Basic code challenge
- Basic code challenge: Solution
- Logical code challenge
- Logical code challenge: Solution
- Solution: Find bug in factorial function
- Next steps
Taught by
Kathryn Hodge
Related Courses
Beginning Game Programming with C#University of Colorado System via Coursera Programming with C#
Microsoft via edX DEV206.1x: Introduction to XAML and Application Development
Microsoft via edX Introduction to Game Development
Michigan State University via Coursera Designing Advanced Applications using XAML
Microsoft via edX