What Does The Following C Code Set Specifyp Pre Langcsharp #881
What does the following C# code set specify?</p> <pre><code class="language-csharp" line="1"> public static int Compare(string strA, int indexA, string strB, int indexB, int length, bool ignoreCase) </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Miscellaneous Topics - Introduction of String Formatting - Quiz No.1.
What does the following C# code set specify?
public static int Compare(string strA, int indexA, string strB, int indexB, int length, bool ignoreCase)
Comparison begins at strA[indexA] and strB[indexB] and runs for length of characters
Returns output > 0 for for strA > strB else < 0 for strA < strB else if strA = str B output is 0
Comparison is culture sensitive and if ignore case is true, comparison ignores case differences
All of the mentioned