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#

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,887 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