main.cs(13,8): error CS1520: Class, struct, or interface method must have a return type main.cs(15,24): error CS1525: Unexpected symbol `(', expecting `,', `;', or `=' main.cs(31,2): error CS1519: Unexpected symbol `do' in class, struct, or interface member declaration main.cs(31,3): error CS9010: Primary constructor body is not allowed main.cs(43,21): error CS1525: Unexpected symbol `${' main.cs(43,1): error CS1520: Class, struct, or interface method must have a return type main.cs(43,82): error CS1525: Unexpected symbol `}' main.cs(45,14): error CS1519: Unexpected symbol `<' in class, struct, or interface member declaration main.cs(45,27): error CS1519: Unexpected symbol `;' in class, struct, or interface member declaration main.cs(45,30): error CS1519: Unexpected symbol `++' in class, struct, or interface member declaration main.cs(46,13): error CS1519: Unexpected symbol `(' in class, struct, or interface member declaration main.cs(47,12): error CS1519: Unexpected symbol `i' in class, struct, or interface member declaration main.cs(47,13): error CS1519: Unexpected symbol `]' in class, struct, or interface member declaration main.cs(47,25): error CS1519: Unexpected symbol `i' in class, struct, or interface member declaration main.cs(47,26): error CS1519: Unexpected symbol `]' in class, struct, or interface member declaration main.cs(47,37): error CS1519: Unexpected symbol `i' in class, struct, or interface member declaration main.cs(47,38): error CS1519: Unexpected symbol `]' in class, struct, or interface member declaration main.cs(47,63): error CS1525: Unexpected symbol `i', expecting `,' or `]' main.cs(47,71): error CS8076: Missing close delimiter `}' for interpolated expression main.cs(47,70): error CS1525: Unexpected symbol `}', expecting `,' or `]' main.cs(51,0): error CS1525: Unexpected symbol `}' make: *** [main.exe] Error 1