C# String Equals() Method
C# String Equals()
Equals() method checks whether the two specified String objects have the same value or not.
Note: Both, == and Equals() method compares the content of strings. So, there is no difference between them.
|s1||Required||Specifies the string to be compared.|
|s2||Required||Specifies the string to be compared.|
|True||If the two specified String objects have the same value.|
|False||If the two specified String objects does not have the same value.|
Hi Developers, we almost covered 90% of String functions and Interview Question on C# with examples for quick and easy learning.
We are working to cover every Single Concept in C#.
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.