You are developing an application that includes a class named Order. The application will store a collection of Order objects.The collection must meet the following requirements:โ Use strongly typed members.โ Process Order objects in first-in-first-out order.โ Store values for each Order object.โ Use zero-based indices.You need to use a collection type that meets the requirements.Which collection type should you use?
You are developing an application.The application contains the following code segment (line numbers are included for reference only):When you run the code, you receive the following error message: "Cannot implicitly convert type 'object'' to 'int'. An explicit conversion exists (are you missing a cast?)."You need to ensure that the code can be compiled.Which code should you use to replace line 05?
You need to write a method that retrieves data from a Microsoft Access 2013 database.The method must meet the following requirements:โ Be read-only.โ Be able to use the data before the entire data set is retrieved.โ Minimize the amount of system overhead and the amount of memory usage.Which type of object should you use in the method?
You are developing an application. The application calls a method that returns an array of integers named employeeIds. You define an integer variable named employeeIdToRemove and assign a value to it. You declare an array named filteredEmployeeIds.You have the following requirements:โ Remove duplicate integers from the employeeIds array.โ Sort the array in order from the highest value to the lowest value.Remove the integer value stored in the employeeIdToRemove variable from the employeeIds array.You need to create a LINQ query to meet the requirements.Which code segment should you use?
You use the Task.Run() method to launch a long-running data processing operation. The data processing operation often fails in times of heavy network congestion.If the data processing operation fails, a second operation must clean up any results of the first operation.You need to ensure that the second operation is invoked only if the data processing operation throws an unhandled exception.What should you do?
You are developing an application by using C#. You provide a public key to the development team during development.You need to specify that the assembly is not fully signed when it is built.Which two assembly attributes should you include in the source code? Each correct answer presents part of the solution.NOTE: Each correct selection is worth one point.