fork download
  1. namespace MenuApp
  2. {
  3.  
  4. public class Menu
  5. {
  6. public Menu(int a)
  7.  
  8. {
  9. }
  10. }
  11.  
  12. class Program
  13. {
  14. static void Main(string[] args)
  15. {
  16. var menu = new Menu();
  17. }
  18. }
  19. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(16,18): error CS1729: The type `MenuApp.Menu' does not contain a constructor that takes `0' arguments
prog.cs(6,12): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty