Create a file named Lab5_3.cs. Place all your code in this file. Note: The autograder will expect…
Create a file named Lab5_3.cs. Place all your code in this file.
Note: The autograder will expect no namespace. If you create one in Visual Studio, make sure to remove the namespace declaration before submission. Some online compilers do not include namespaces by default, which may facilitate testing.
Define a class named LinqQuery. This will contain any methods that you define for this lab.
Define a public static method named GetThirdEven that takes as input a Listint> and returns an int. Using a LINQ query (no loops!) you should find the third even number in the list.
Hint: You can use Skip and First to get to the third item in your query results.
If your results are only the even numbers, this will give you the third even number.
Example: Input: 188.8.131.52.184.108.40.206 Output: 6