Possible Duplicate:
Track all object references in C#
Strings are reference types. They have two parts; an object and a reference to object. For example;
string str1 = "Soner";
string str2 = str1;
str1 and str2 are references to same object, "Soner" is an object. Is there any way to find all references point to the same object? In this case, I try to find str1 and str2 just using "Soner" object?
Of course, I didn't know also how to access to string object without any reference to it. I want to know if there is a way.