Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
215,939 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.