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 trialHermes Crespo
980 PointsWhat is wrong with this code I wrote?? I do not see ANY error. However, I keep getting the message that it is wrong .
This is very frustrating for me as I have complied my answer code of this challenge in an C# IDE and it executed flawlessly.... So why is the Treehouse site insisting that my code is incorrect????
class CodeChallenge
{
static void Main()
{
System.Console.Write("Hello");
}
}
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! You're doing great, but it's important in these challenges to not do anything that is not explicitly asked by the challenge. They have already set up a class and a Main
method for you.
The solution to this is simply one line of code, which is already present in your answer
Hope this helps!