New console project template creates a Main method like this:
class Program { static void Main(string[] args) { } }
Why is it th
The entry point of a program is marked with the .entrypoint IL directive. It does not matter if the method or the class is public or not, all that matters is this directive.
.entrypoint