Just want to make sure I got this right...
Let's say I have a large array of A objects. Each A object has a
property that contains a reference to a B object. It would be possible
to store the property simply as a string, but I rather make the whole B
object available there. All the A objects may refer to the same B object.
To my understanding, when C# stores the reference to B objects in the A
object property, it just stores an address in memory, not the whole
object itself. So looping through the long list of A objects shouldn't
be slower than if I store the property as a string, right?
Gustaf