Company: AP Moller Maersk

Difficulty: medium

Problem Statement

C# & .NET - Multiple Choice Section AP Moller Maersk, Software Engineer on-campus assessment. Section 01: C# & .Net , 20 questions, 1 mark each. Each question below has exactly one correct option. --- Q1. Which of the following statements is correct regarding IList<T> in C#? Single-dimensional arrays that have a lower bound of zero automatically implement IList<T> IList<T> enables you to create generic methods that can use the same code to iterate through arrays and other collection types The IList<T> interface cannot be used to add or remove elements from an array and an exception will be thrown if you call an IList<T> method for such purpose Choose the correct answer from the options given below. A. Only 2 and 3 B. All 1, 2 and 3 C. Only 1 D. Neither 1, 2 nor 3 --- Q2. You have defined your initial query path to include an Object A using the include method. The objects returned are then projected into an anonymous type using LINQ. Which of the fo

More AP Moller Maersk OA questionsInterview experiences