C# C# Objects Object-Oriented Programming Instantiation

I dont know why its not working I made sure to make an object just like the question asked

I dont know why its not working I made sure to make an object just like the question asked

Program.cs
namespace Treehouse.CodeChallenges
{
    class Program
    {
        static void Main()
        {            
           Frog mike = new Frog ();

        }
    }
}
Frog.cs
namespace Treehouse.CodeChallenges
{
    class Frog
    {

    }
}

1 Answer

Chris Murphy
Chris Murphy
5,522 Points

Remove the space between Frog and () and it will work i.e. Frog mike = new Frog();