Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC#value vs reference typesSingle-choice MCQ

Two string variables hold the same text. What does the equality check print?

string s1 = "hello"; string s2 = "hel" + "lo"; Console.WriteLine(s1 == s2);