Arrays on C# related Questions and Answers


Question :   Correct way to find if contents of two strings are equal ?
1. if (s1 = s2)
2. if (s1 != s2)
3. if (strcmp (s1 ,s2))
4. if ( s1 is s2)
Answer :   3 - if (strcmp (s1 ,s2))  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter