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#

Rasmus Andersen
Rasmus Andersen
1,569 Points

can somebody help me. i don't know whaat these errors means

Program.cs(3,0): error CS1525: Unexpected symbol namespace', expe cting.', ::',;', <', or='
Program.cs(3,9): error CS1525: Unexpected symbol .', expecting. ', ::',;', <', or='
Compilation failed: 2 error(s), 0 warnings

you can see my workspace here

https://w.trhou.se/k7fwmuyuuf

Steven Parker
Steven Parker
229,783 Points

:x: You can't share a direct URL to your workspace, it's private just for you and only exists while you are using it.

:information_source: But you can use the snapshot function in the workspace and provide the link to that.

2 Answers

Steven Parker
Steven Parker
229,783 Points

:point_right: You just have a few typos:

  • on line 1, you're missing the semicolon (;) at the end of the line
  • on line 3, you have a semicolon where one should not be
  • on line 10, you misspelled runningTotal
  • on line 33, you also misspelled runningTotal (the 2nd time)

You still have a bit of work to do to make the program functional, but this should fix your compiler errors.