Original Post
Let's say I have a class called Thing, I instantiate 2 separate objects of this class. Thing a = new Thing(); Thing b = new Thing(); In C#, if I compare if(a==b){}, how will it do that comparison if I haven't overloaded that operator? Will it look at all the member variables of that class and compare them, or does it just compare the address location of each object? Doesn't C# store/pass most of the objects by reference? So would the code above in C++ be:? Thing *a = new Thing(); Thing *b = new Thing(); Is that correct? Or am I way off? Jeff