Scartissue
Scartissue
CC#
Created by Scartissue on 4/4/2023 in #help
❔ arent strings reference types?
ooh
18 replies
CC#
Created by Scartissue on 4/4/2023 in #help
❔ arent strings reference types?
but it doesnt change str1
18 replies
CC#
Created by Scartissue on 4/4/2023 in #help
❔ arent strings reference types?
and str2 is changed to "BLAHH"
18 replies
CC#
Created by Scartissue on 4/4/2023 in #help
❔ arent strings reference types?
str1 is pointing to str2
18 replies
CC#
Created by Scartissue on 4/4/2023 in #help
❔ arent strings reference types?
string str1 = "string 1";
string str2 = "string 2";

str1 = str2;
str2 = "BLAHH";

Console.WriteLine(str1 + "\t" + str2);
Console.ReadKey();
string str1 = "string 1";
string str2 = "string 2";

str1 = str2;
str2 = "BLAHH";

Console.WriteLine(str1 + "\t" + str2);
Console.ReadKey();
what about this case
18 replies
CC#
Created by Scartissue on 4/4/2023 in #help
❔ how are encapsulation and data hiding different
what is a state
5 replies