The type or namespace cannot be found (are you missing a using directive or an assembly reference?)

前端 未结 5 940
没有蜡笔的小新
没有蜡笔的小新 2020-12-11 14:45

I get the following error when I try to compile my C# program:

The type or namespace name \'Login\' could not be found (are you missing a using directive or an

5条回答
  •  感动是毒
    2020-12-11 15:21

    You need to add the following line:

    using FootballLeagueSystem;
    

    into your all your classes (MainMenu.cs, programme.cs, etc.) that use Login.

    At the moment the compiler can't find the Login class.

提交回复
热议问题