C
C#3y ago
anotion

✅ The name does not exist in current context. (forms)

I simply may be too dumb but i cannot wrap my head why is this an error.
4 Replies
mtreit
mtreit3y ago
Because code needs to be in a method
anotion
anotionOP3y ago
So basically i need to just put it in the constructor?
mtreit
mtreit3y ago
That would be one way, yes
anotion
anotionOP3y ago
Alright that seems simple enough. Thank you.

Did you find this page helpful?