Home » C# Programming » Strings

If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references?

Correct Answer: s1.Equals(s2)

← Previous Question Next Question→

More Questions from Strings

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion