'function declaration' has the wrong signature to be an entry point
The method declaration for Main was invalid.
The following sample generates CS0028:
namespace x { public class a { public static void Main(int i) // CS0028 // try the following line to resolve CS0028 // public static void Main() { } } }