Which code segment should you insert at line 06?

You are developing an application that will convert data into multiple output formats.
The application includes the following code. (Line numbers are included for reference only.)


You are developing a code segment that will produce tab-delimited output. All output routines implement the following interface:


You need to minimize the completion time of the GetOutput() method. Which code segment should you insert at line 06?


A. Option A
B. Option B
C. Option C
D. Option D

microsoft-exams

6 thoughts on “Which code segment should you insert at line 06?

  1. B): Use a StringBuilder object if you are concatenating an arbitrary number of strings; for example, if you’re using a loop to concatenate a random number of strings of user input.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.