Although, I will venture a guess that the problem may have to do with your Main method.
Typically, the Main() method needs to be static. If this is a console app, it also needs an "args" parameter. It should look something like this:
static void Main(string[] args)
-Peter
peterlanoie.blog