Bugz000
❔ How to structure funcs that calls funcs from static cast
i am getting error CS0120 - https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0120
example 2 is my situation (and solution), but should i invoke an instance of itself in Main() - to call a func, and i'd need to invoke another instance there to call further funcs? if nothing is passed then how does the contents of main (thus the instance) get handed to func1 to know the instance to call func2...
in my mind these will all be running their own main() instance, is it not recursive? i'm misunderstanding something fundermental here
263 replies