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 trialNurazim Zhakibaev
511 PointsConsole error
when i am typing mcs Program.cs in console there appearce: program.exe does not contain static Main method suitable for an entry point compilation failed
3 Answers
Steven Parker
231,275 PointsDoes your file actually contain a Main method?
If it's not actually missing it would be necessary to see your code to analyze the issue. The best way to facilitate a complete and accurate analysis is to make a snapshot of your workspace and post the link to it here.
Nurazim Zhakibaev
511 Pointsoooh.. I fixed that one. Thank you!!!
James Hoffman
6,354 PointsMake sure you save your code before compiling or the changes won't be sent to the compiler.