Sign in to follow this  

very weird bug in code [ FIXED ]

Recommended Posts

miradosamurai    112

okay i was coding some last night i compiled and made sure the program was running correctly it was then today i change some code something is wrong its not working then i go back to what i had last night nothing changed AT ALL and the same thing was happening, so then i go back to something i had working a couple days ago....same thing it says error CS1518 for the code 




static void Main(string[] args)
Console.Title = "Project Criminal";
Console.SetWindowSize(120, 48);
do {
} while(isGameAlive);
why is it doing this all of a sudden?
EDIT:went back to something several days ago and it still compiles correctly no error or anything and its the same code the only difference is whats in the "" in console.title
EDIT 2: fixed it apparently when i went back i didnt catch everything and long story short there was 1 too many closing brackets.
Edited by miradosamurai

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this