C# C# Basics (Retired) Perform if / else

Gustav Aldenberg
Gustav Aldenberg
160 Points

Text appearing in console not the same as my "Console.Write();" text

I change my text in the code line "Console.Write();" but the text appearing when i run the program in console is not the same as i wrote but it's an older one. Somehow it wont let me change the text.

1 Answer

Steven Parker
Steven Parker
185,871 Points

Be sure to save your edit and recompile.

Any changes made in the editor do not get into the source file until you save using the menu or key shortcut. An orange dot on the filename tab will remind you if you have made changes that have not yet been saved.

Then after saving, you will need to re-compile the program before the results of your changes will be seen when you run the program.

If this doesn't resolve your issue, try making a snapshot of your workspace and post the link to it here to enable a more thorough analysis.