Global variable not identified
I do not understand why this function can identify this global variable, i'd like to manipulate it inside the function

3 Replies
What does the lightbulb say?
Just mark the method as non-static (remove static keyword), because the field accounts cannot be marked as a static.
And static methods cannot access non-static fields
i put this way kknow worked

Or just remove the static keyword from the CreateAccount method