Examveda

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: Option D


This Question Belongs to C Sharp Programming >> Miscellaneous In C Sharp

Join The Discussion

Related Questions on Miscellaneous in C Sharp