Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions