You are getting close but your understanding of constructors is deficient.
To begin read up on constructors:
An Intro to Constructors in C#[
^]
do_MyMagic() only needs this:
public void do_myMagic()
{
Console.WriteLine("Pooofff");
}
You now need 2 constructors:
class Magic {
public Magic()
{
}
public Magic(int iToads, int iSpiders)
{
}
}
I won't do the rest - you seem quite capable of that.
Then you will be able to write:
Magic myMagic = new Magic(3, 5);
[EDIT] Now add at the top
using System;
namespace Homework
And below
myMagic.do_myMagic();
add the line
Console.ReadKey();
This should compile and run printing out "pooff". Then you can play around with set get eg:
Console.WriteLine(myMagic.Spiders);
myMagic.Spiders = 9;
Console.WriteLine(myMagic.Spiders);
I agree with Bill's comments.