# “CompareToVsEquals” (Problem)

Can the two lines coincide by the `String.CompareTo` method, but differ by the `String.Equals` method? How to contact them the `==`?

[Solution](comparetovsequals-s)
