✅ Which is the more correct way of class instantiation?
Is it better to instantiate your used objects like this in the
app.axaml.cs file and then pass them off to the main window view model like the public override function at the top or is it better to instantiate your used objects in the main window view model like the code block underneath it? I ask because I've noticed that when I build a new view model, if I instantiate the items I need right there in the class as new instances of that item, I don't have the need for two constructors likeso I'm just curious to if it's user preference, or which is more correct