Vidyalelo
C# Programming · Q66

Miscellaneous in C Sharp

Programming · C# Programming · question 66

Q66

What does the following C# code set specify? public static int Compare(string strA, int indexA, string strB, int indexB, int length, bool ignoreCase)

A.
Comparison begins at strA[indexA] and strB[indexB] and runs for length of characters
B.
Returns output > 0 for for strA > strB else < 0 for strA < strB else if strA = str B output is 0
C.
Comparison is culture sensitive and if ignore case is true, comparison ignores case differences
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board