Examveda

What does the following C# code set specifies?
public static int Compare(string strA, string strB)

A. Comparison is case and culture sensitive

B. Two strings A and B are compared with each other

C. Output is : >0 for (A > B), <0 for (A < B) else '0' for(A=B)

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