adspace
Answer Posted / Ravi Prakash Gupta
In C#, you can compare strings using the '==' operator for value comparison or the String.Equals() method for case-sensitive and culture-invariant comparisons. For case-insensitive comparisons, you can use the String.Equals(String, StringComparison) method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers