When you get the most basic "Hello World" example, then your code will reach the level of complexity, where you can imagine that it is going on. What you need, this is some black magic, so that you can open the virtual hood of your application and see what is happening while walking, debugging is a magical tool, and as soon as you learn its most basic steps, You will be surprised how you live without ever It is a tool that every good programmer should understand, just because it is almost impossible to fix the bug in complex code without it.
The most basic type of debugging, which is still being used by advanced programmers, is sometimes called "print debugging" - a simple process where you print a piece of your app text or print anywhere , You can see that your code has been used and what is included in your variable. With C #, you can use the console to output the contents of a variable or normal position message () to the method, which will be printed in the console. This may be sufficient for some situations, but if you are using good IDE from Visual Studio or Express editions, then you have a lot of powerful tools at your disposal, and each time it's easy to use, when you If you learn, the most basic principle in the next chapters, we will guide you through the debugging possibilities of your IDE, and after that, Will be a very strong programmer.