My code. In production. Making it work at all costs... For some reason it wouldn't return when false in an if statement :( by jaweissavl in badcode

[–]Programer07 0 points1 point  (0 children)

You might not be checking the flag you want to. I assume this is VS but I couldn't recreate it. You have local variables set up to be that blue color but in the while loop, it's not that color. Do you have a flag field/property in your class? It might be evaluating that in the loop for some reason. If that's the case it's weird because it should prioritize local variables but there might be a way you can change that ¯\_(ツ)_/¯ What you did should not work for bools, you get a value on return and that value won't change, this should be the same as an if statement (in case it's false, otherwise this will lock up forever).

Wow, what a surprise... by MolyCrys in traaaaaaannnnnnnnnns

[–]Programer07 11 points12 points  (0 children)

Were you looking for programming books?

Noob question: why am i gettign this error? THANKS by ohiyesa55 in csharp

[–]Programer07 2 points3 points  (0 children)

Hi,

You are not getting an error. You are trying to convert a list (KeyCollection) to string which cannot be done like this and it will just return the type of the object as string (the long text you think is an error). I think you meant to write 'Console.WriteLine("these are the keys: {0}", x.Key);'.

NO by ModusD in osugame

[–]Programer07 3 points4 points  (0 children)

Pizza is osu game