What is the value of result after the code executes?

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

You have the following C# code that manipulates a string.

What is the value of result after the code executes?
A . This is a sentence.
B . Thrandom random a random sentence.
C . This is a is sentence.
D . This random sentence.

Answer: D

Explanation:

Reference: https://docs.microsoft.com/en-us/dotnet/api/system.string.substring?view=netframework-4.7.2

Leave a Reply

Your email address will not be published.