PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant code?

DRAG DROP
You develop an application that displays information from log files when errors occur. The
application will prompt the user to create an error report that sends details about the error
and the session to the administrator.
When a user opens a log file by using the application, the application throws an exception
and closes.
The application must preserve the original stack trace information when an exception occurs
during this process.
You need to implement the method that reads the log files.
How should you complete the relevant code? (To answer, drag the appropriate code
segments to the correct locations in the answer area. Each code segment may be used
once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

4 Comments on “How should you complete the relevant code?

    1. Artem says:

      StreamReader is correct, because:

      public StringReader(string s)
      where s – The string to which the StringReader should be initialized.
      it is not file name

      Correct answer is 2 and 4




      3



      0

Leave a Reply