D Daniel Nov 3, 2004 #1 is it something like this? string str = "foo"; object var1 = ref str; object var2 = ref str; some thing like that?
is it something like this? string str = "foo"; object var1 = ref str; object var2 = ref str; some thing like that?
S Shiva Nov 3, 2004 #2 string str = "foo"; string str2 = str; string str3 = str; Now, str, str2 & str3 all reference the same string. Hope I got the question right. is it something like this? string str = "foo"; object var1 = ref str; object var2 = ref str; some thing like that?
string str = "foo"; string str2 = str; string str3 = str; Now, str, str2 & str3 all reference the same string. Hope I got the question right. is it something like this? string str = "foo"; object var1 = ref str; object var2 = ref str; some thing like that?