Is there a way to not write out
Class class = new Class();
in the Main method?
I think about creating the objects in their specific classes and pass the already created objects to other classes. Maybe triggered by events.
I just dont like to tell my Main method to do something directly. I just want to call methods and events from there which are defined in other places.
Maybe this whole idea is complete bullox, for i am fairly new to coding. But i wanted to ask