C#C
C#3y ago
Scartissue

❔ arent strings reference types?

string str1 = "string 1";
string str2 = "string 2";

str1 = str2;
str1 = "BLAHH";

Console.WriteLine(str1 + "\t" + str2);
Console.ReadKey();
why doesnt this print out
BLAHH               BLAHH
Was this page helpful?