ExamVeda
Login
Home
This question belongs to Computer Science Visual Basic
Visual Basic
?

String comparison in Visual basic is case-sensitive.

Answer & Solution
Correct Answer: Option A
In Visual Basic, string comparison is case-sensitive. This means that when you compare two strings, the comparison takes into account the exact letter case of each character in the strings.

For example, if you have the strings "Hello" and "hello", a case-sensitive comparison would consider these strings to be different.

To perform a case-insensitive string comparison, you would need to use appropriate methods or functions, such as String.Compare with the appropriate StringComparison enumeration value (e.g., StringComparison.OrdinalIgnoreCase).

Therefore, the correct option is Option A: True.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.