PrepAway - Latest Free Exam Questions & Answers

What code should you add to the Click event of btnDownloadTours?

You add a button named btnDownloadTours to the search results page.
You create a method named DownloadTour to download video tours synchronously.
DownloadTour receives a single parameter of type integer, representing the ID of a video tour.
As customers add listings to their favorites list, the ID of the video tour is added to a collection
named selectedTours.
You need to implement the code required to download the video tour based on the video tour
requirements.
What code should you add to the Click event of btnDownloadTours? (More than one answer choice
may achieve the goal. Select the BEST answer.)

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

3 Comments on “What code should you add to the Click event of btnDownloadTours?

    1. tri says:

      ye A.
      Requirements:
      • When downloading the video tours, the app must remain responsive, and each
      download must be processed on a separate thread.

      C would be correct too, if task.waitall wouldnt be there. because the app is stopped until the tasks are completed. And it has to be responsive.




      0



      0

Leave a Reply