What is wrong C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
17th Apr 2023, 7:32 AM
Ethan Shaw
Ethan Shaw - avatar
3 Answers
+ 11
You have 2x class Welcome. Remove one and it should work.
17th Apr 2023, 7:42 AM
Ausgrindtube
Ausgrindtube - avatar
+ 3
Two classes with same name, it will return an error. Remove one class and it will work.
17th Apr 2023, 8:10 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 2
You can’t name two classes with the same name. It returns an error
17th Apr 2023, 8:05 AM
Ugulberto Sánchez
Ugulberto Sánchez - avatar