Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 keywordsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started