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# C# Basics (Retired) Console I/O Receiving Input

I'm really sorry maybe I'm dumb but my code never works.

How can I add snapshots here? its too complicated to describe

https://w.trhou.se/lw5jb8ldi3 got it now. I have cs2015 error

Steven Parker
Steven Parker
231,261 Points

Good job making the snapshot. :+1:
For the benefit of other readers, here's a video that explains how to make a snapshot.

Jay Padzensky
Jay Padzensky
4,731 Points

Hey Petr,

Noone's dumb! Inexperienced and learning, sure. Keep at it!

1 Answer

Steven Parker
Steven Parker
231,261 Points

I compiled the code ("mcs Program.cs") and a got this: "warning CS0219: The variable `entry' is assigned but its value is never used", which is appropriate for the current code and not an actual error.

Then I ran the code ("mono Program.exe") and it gave me the prompt and accepted my input.

So nothing seems to be wrong!