𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢
𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/18/2023 in #help
❔ top level statements must precede namespace and typer declerations
thanks that worked
8 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/18/2023 in #help
❔ top level statements must precede namespace and typer declerations
class wizard { public string name; public string favouritespell; public int spellslots; public float experience; } wizard wizard1 = new wizard(); wizard1.name = "Parry Hopper"; wizard1.favouritespell = "spell1"; wizard1.spellslots = 2; wizard1.experience = 0f;
8 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/18/2023 in #help
❔ top level statements must precede namespace and typer declerations
here is my code:
8 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
ok
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
can i ask u if I have any more questions as I am very new to C# and coding in generall and you seem like you know what your doing
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
ok its fine i think I was running it wrong
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
whatever, ill just run in app
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
in terminal on my mac as in externally?
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
does that not work?
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
what if i want to run it in terminal?
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
@cap5lut ???
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
@thinker227 what should i do?
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
but when i did that it just runs my original project, not my new one
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
ok
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
how do u do that on vs code?
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
so what if i want to write a new code but want to keep my old one
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
ok
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
my code doesnt have "using system:"
31 replies
CC#
Created by 𝔎𝔦𝔰𝔰_𝔐𝔶_𝔄𝔵𝔢 on 5/14/2023 in #help
❔ Only one compilation unit can have top-level statements. [C# start]
im so confused, sorry Im so new to C#
31 replies