Question: part a and part b both answer required 7.1. Task 01 Create an array of integer, take the input from the user such as int[]
part a and part b both answer required

7.1. Task 01 Create an array of integer, take the input from the user such as int[] arr = {2,2,4,1,3,2,5,6,7). Now execute a LINQ query to display distinct elements of array on browser. 7.2. Task 02 Write selectStudent() action in MVC controller class, that demonstrate following: There shall be an array of students where 3 students shall be having same name, e.g. asad, 2 of them shall have same age, e.g. 20 and all students should have distinct registration number Department of Computer Science Page 7 CUST, Islamabad Lab 11: LINQ Queries Write a LINQ query that select all elements sorted by name, then by age and then by reg no. HINT: Use OrderBy, ThenBy keywords
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
