W
Sooo, google is confusing as usual.
I am programming in Visual Studio as I am trying to get used to C# again.
I am making a basic program with various nonsense and running code now and then to see what happens.
Problem is, now it won't run the new code.
I tried Save all
I tried Rebuild
I tried restarting Visual Studio
.... no luck.
It can't be because of a bug, because even though I am the master of bugs, it won't even display the simple
Console.WriteLine("TEST Stuff..."); that I added as a debug test at the start of the code. It writes "simple properties", which is what my code said before I changed and saved and rebuilt it.
Ideas on why this is happening and how to avoid it?
(Why didn't they teach us this stuff at school? :/ )
We didn't really learn much about debugging/ testing. Are there any good alternatives to actually running the code to see if it works?
public static void Main()
{
Console.WriteLine("TEST Stuff...");
Person person = new Person();
person.present();
person.doSomething();
Console.ReadLine();
}
I am programming in Visual Studio as I am trying to get used to C# again.
I am making a basic program with various nonsense and running code now and then to see what happens.
Problem is, now it won't run the new code.
I tried Save all
I tried Rebuild
I tried restarting Visual Studio
.... no luck.
It can't be because of a bug, because even though I am the master of bugs, it won't even display the simple
Console.WriteLine("TEST Stuff..."); that I added as a debug test at the start of the code. It writes "simple properties", which is what my code said before I changed and saved and rebuilt it.
Ideas on why this is happening and how to avoid it?
(Why didn't they teach us this stuff at school? :/ )
We didn't really learn much about debugging/ testing. Are there any good alternatives to actually running the code to see if it works?
public static void Main()
{
Console.WriteLine("TEST Stuff...");
Person person = new Person();
person.present();
person.doSomething();
Console.ReadLine();
}