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#

I'm new to the community and how do you screenshot your code to post on here because I have many questions

like when they ask a question how do i screenshot my work

Justin Horner
Justin Horner
Treehouse Guest Teacher

Hello Demetre,

If you're using Treehouse Workspaces, you may want to use the Workspace Snapshots feature to easily share your project when asking questions here in the Community.

I hope this helps.

1 Answer

Alex Koumparos
seal-mask
.a{fill-rule:evenodd;}techdegree
Alex Koumparos
Python Development Techdegree Student 36,862 Points

Hi Demetre,

Screenshotting is not very helpful as people are going to want to be able to copy and paste your code to replicate any problems you are having. So instead of using screenshots you should copy and paste your code into the text box.

When you do, put a line before your code that contains three backticks (`) followed by the name of the language (e.g., 'csharp'). Put another line after your code, also with three backticks. This will ensure that your code is properly formatted on the page.

```csharp
Console.WriteLine("Hello World!");
```

Will render as:

Console.WriteLine("Hello World!");

You can click on the link to the Markdown Cheatsheet beneath the text entry box to see more guidance on this. You can also click the 'eye' icon on the bottom right corner of the text entry box to get a preview of what your code will look like, so you can verify that you've got it right before posting.

Hope that's clear.

Cheers

Alex