

MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Csharp knowledge and support exam preparation. Choose a topic below to get started.
1. |
WHICH_OF_THESE_OPERATORS_CAN_BE_USED_TO_CONCATENATE_TWO_OR_MORE_STRING_OBJECTS??$ |
A. | + |
B. | += |
C. | & |
D. | || |
Answer» E. | |
2. |
Comparison begins at strA[indexA] and strB[indexB] and runs for length of characters$ |
A. | Returns output > 0 for for strA > strB else < 0 for strA < strB else if strA = str B output is 0 |
B. | Comparison is culture sensitive and if ignore case is true, comparison ignores case differences |
C. | All of the mentioned |
Answer» D. | |
3. |
Comparison is case and culture sensitive |
A. | Two strings A and B are compared with each other |
B. | Output is : >0 for (A > B), <0 for (A < B) else ‘0’ for(A=B) |
C. | All of the mentioned |
Answer» B. Output is : >0 for (A > B), <0 for (A < B) else ‚Äö√Ñ√∂‚àö√ë‚àö‚â§0‚Äö√Ñ√∂‚àö√ë‚àö¬• for(A=B) | |
4. |
Select the operators used for checking the equality in strings: |
A. | != |
B. | > |
C. | < |
D. | >= |
Answer» B. > | |
5. |
What are strings in C#? |
A. | a sequence of characters |
B. | array of characters |
C. | objects of built-in data typed) a reference type |
Answer» D. | |