Compiler Error CS1559
Cannot use 'object' for Main method because it is imported
An invalid class was specified to the StartupObject compiler option; the class cannot be used as a location for the Main method.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: