Et alors ? C'est parfaitement autorisé en C# (cf MSDN) :
C# Programmer's Reference
Main
The Main method is the entry point of your program, where the program control starts and ends. It is declared inside a class or struct. It must be static. It can either have a void or int return type.
[^] # Re: On va encore dire que je suis un raleur mais...
Posté par Franck . En réponse au journal Des nouvelles de Gnome. Évalué à 2.
C# Programmer's Reference
Main
The Main method is the entry point of your program, where the program control starts and ends. It is declared inside a class or struct. It must be static. It can either have a void or int return type.