Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Debugging in C#

Debugging in C#

1h 21mBeginner2019-04-23

Authors

Kathryn Hodge

Kathryn Hodge

Software Developer

Course details

Writing programs in C# is one thing. Writing programs that work is another. Discover how debugging your applications can make them more accurate, efficient, and reliable. Learn exactly what it means to debug your programs, and how tools like Visual Studio Code—the most popular IDE for C# programmers—can help you identify and solve errors in your code. Instructor Kathryn Hodge reviews the basic debugging process and introduces tips and tricks to reduce bugs and make your programs more secure. She also reviews the most common errors in C#—issues like null reference exceptions and logical errors—and provides three coding challenges to help you practice your debugging skills.

Learning objectives
Debugging defined
Working with breakpoints
Inspecting values of variables
Defensive programming
Common C# errors
Debugging challenges

Skills covered

Visual StudioC#Programming FoundationsPersonaProgramming LanguagesMicrosoftSoftware Development

Concepts

0. Introduction

  • 01 - Debugging in C#
  • 02 - What you should know

1. Basics of Debugging

  • 03 - What is debugging
  • 04 - What is a print statement
  • 05 - What is a breakpoint
  • 06 - Inspecting values of variables
  • 07 - Execution in debug mode
  • 08 - The debugging process
  • 09 - Beginner debugging code challenge
  • 10 - Beginner debugging code challenge - Solution

2. More Debugging Tips and Tricks

  • 11 - Covering edge cases
  • 12 - Defensive programming
  • 13 - Side effects

3. Common Errors in C#

  • 14 - NullReferenceException
  • 15 - IndexOutOfRangeException
  • 16 - Logical errors
  • 17 - Using a reference like a value

4. Practice Debugging C# Programs

  • 18 - Basic code challenge
  • 19 - Basic code challenge - Solution
  • 20 - Logical code challenge
  • 21 - Logical code challenge - Solution

Conclusion

  • 22 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal