Alright so I'm pretty new to programming in C#, and programming in general, and I decided to learn the programming language so I'm watching a youtube tutorial and writing everything in the same way as the guy in the video.
The only issue is that when I debug, I'm missing a few lines in the debug window.
I wrote 4 Console.WriteLine
commands yet it only shows 2 of them in the debug window.
Example (current and expected):
https://gyazo.com/d363af46a05b804b65a927e9b075b6e4 (What I get when I debug) https://gyazo.com/3fd4eed9d68983304b5098c9f07f809a (What I should be getting)
This might be a very popular issue that has been solved many times, but I haven't been able to find it since I don't know what to type specifically to find the solution to my problem.
I hope someone can help me. And again, the reason why the title of the question isn't specific is because I don't really know what I'm talking about so I'm relying on the images being enough.
The Code (has been moved from a comment of the author)
using System;
namespace Basics {
class Program {
static void Main(string[] args) {
string characterName = ("John");
int characterAge;
characterAge = 35;
Console.WriteLine("There one was a man named " + characterName);
Console.WriteLine("He was " + characterAge + " years old.");
Console.WriteLine("He really liked the name " + characterName);
Console.WriteLine("But didn't like being " + characterAge);
Console.ReadLine();
}
}
}