9 Replies
and if i make the main function a static i get
Make everything else static then.
Easy solution.
Or use that code.
It'll work.
what you modified?
Have a look, compare it.
oh u made the function and the list static
i don't understand how it works but thanks man
Since main function is the entry point of the application, it has to be static. Therefore the other defined methods you want to call has to be static as well. https://stackoverflow.com/questions/4124102/whats-a-static-method-in-c
Alternatively, $nonstaticmain
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.