❔ Dictionary and memory hijinks
I'm writing a console currently, I register objects that implement the
IConVar interface exclusively, they can be registered from any class at any time for any reason that's needed. And if other classes wanna access them, they can (think of the UE4 console basically), the thing I'm scratching my head over right now is whether or not this type of function will return a copy, or just the object itself that was registered inside of another class previously (i.e, I make and instantiate a new object from a class implementing IConVar, register it to the Dictionary, will searching up the dictionary return that instance I used to register it into the dictionary, or will it return a brand new copy)