C# C# Objects Object-Oriented Programming Instantiation

Sebastian Manczak
Sebastian Manczak
2,553 Points

Instantiation task

Could I please have a hint. What I did wrong?

Program.cs
namespace Treehouse.CodeChallenges
{
    class Program
    {
        static void Main()
        {            

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

            }

        }

}

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 49,975 Points

You have the code to instantiate correct

Frog mike = new Frog();

But it is in the wrong location. It should be in Program.cs.