Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Basics (Retired) Console I/O Formatting Output

The statement that the Console.WriteLine function is supposed to print is not displayed.

I copied and pasted the code but I am still having this problem. There is no compilation error but during execution the statement that was supposed to print from the Console.WriteLine method is not displaying.

1 Answer

Steven Parker
Steven Parker
231,248 Points

Be sure that when you make changes to the code (including pasting), that you first save the changes with the menu or the Ctrl-S shortcut. Then, compile and finally run the program.

If you're sure you've done those things in the right order, we may need to take a look at your project. The best way to share is to make a snapshot of your workspace and post the link to it here.

Thanks! It worked, i hadn't saved the program after making changes to it.