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#

How do you do spaces in Workspace?

I want to type in Workspace..

class Cell { public string Contents { get; set; } }

but when i press 'enter' i get this error message. bash: class: command not found..

any help?

Also when i try to type it on one row. treehouse:~/workspace$ class Cell { public string Contents { get; set; } }

i get this message.
bash: syntax error near unexpected token `}'

Adam McGrade
Adam McGrade
26,333 Points

I think you need to type csharp at the prompt to start the REPL before you can run the commands you are trying to run. This video might help C# Basics - REPL