Home > Net > Could you tell me how to use multiple Main use/Main?
Could you tell me how to use multiple Main use/Main?
Time:09-17
Would you please tell me why I wrote this as a book to perform error?
CodePudding user response:
Error one, because there are two Main, there are two programs is the entry point, the compiler doesn't know what a complain, One solution is to remove a,
Error 2, because the Console class in the System namespace is not quoted, The solution is, in the cs file head plus a line using System;