I have these statements and their\' results are near them.
string a = \"abc\"; string b = \"abc\"; Console.Writeline(a == b); //true object x = a; object y
Because they are two different object references. The built-in comparison for this is to compare whether they point to the same actual object or not.
Due to String Interning, a and b are both references to the same string object.
a
b
c==d is true because the string equality operator is being used.
c==d