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 trialChris Murphy
4,391 PointsCan't seem to get this instantiated
I'm just confused as to why this is not working. It must be simple but I'm not seeing it...
namespace Treehouse.CodeChallenges
{
class Program
{
static void Main()
{
Frog mike = new Frog ();
}
}
}
namespace Treehouse.CodeChallengesnamespace
{
class Frog
{
}
}
2 Answers
Steven Parker
231,271 PointsKristian is correct, you should not change the namespace line that was given. But that's not the only issue.
The challenge apparently doesn't like the space between Frog and the parentheses ().
You might want to report this as a bug to Treehouse Support. It may even get you "a special Exterminator badge".
Kristian Gausel
14,661 Pointsyou misspelled the namespace in your frog class: namespace Treehouse.CodeChallengesnamespace should be namespace Treehouse.CodeChallenges
Kristian Gausel
14,661 PointsKristian Gausel
14,661 PointsThis also seems to be the case actually. weird