Which three code blocks should you use to develop the solution?

Posted by: Pdfprep Category: 70-483 Tags: , ,

DRAG DROP

You are creating a method by using C#. The method will accept three strings as parameters. The parameters are named string1, string2, and string3. The parameter values range from 5,000 to 15,000 characters.

The method will have the following signature.

You need to ensure that StringCompare only returns true if string1 concatenated to string2 is equal to string3. The comparison must be case-insensitive. The solution must ensure that StringCompare executes as quickly as possible.

Which three code blocks should you use to develop the solution? To answer, move the appropriate code blocks from the list of code blocks to the answer area and arrange them in the correct order.

NOTE: Each correct selection is worth one point.

Answer: 3, 2, 5.

Explanation:

References: https://docs.microsoft.com/en-us/dotnet/csharp/how-to/compare-strings

Leave a Reply

Your email address will not be published.