Make C#(Sharp) with visual studio: Make a class and list of books with the following data: { ISBN="1234-45-34-3939", Title = "The Long Road", Publisher="New York", Price=25.00, Copyright=2016 }, { ISBN="988-65-34-9012", Title = "The Warrior", Publisher="McGraw", Price=55.00, Copyright=2013 }, { ISBN="8712-45-84-2539", Title = "Yesterday", Publisher="New York", Price=67.00, Copyright=2016 }, { ISBN="1234-78-99-3478", Title = "Programming Essentials", Publisher="Dalton", Price=35.00, Copyright=2015 }, { ISBN="8356-89-33-3251", Title = "Hello World", Publisher="Chicago Press", Price=115.00, Copyright=2016 }, Using LINQ Query or LINQ Method to perform and display results for the following: 1. Display ISBN, Title, Publisher for all books where Publisher is New York. 2. Display all fields for all books in descending order by Copyright 3. Display all fields for all books in descending order by Copyright Where Publisher is New York 4. Display ISBN, Title for all books with copyright greater than 2015 5. Order the list in descending order by Title and display the ISBN, Title of the first book in the list   6. Use LINQ to calculate the sum of the price for all books and display average cost 7. Use LINQ to calculate a 3% markup of the price for each book and display the title and markup price.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question

Make C#(Sharp) with visual studio:

Make a class and list of books with the following data:

{ ISBN="1234-45-34-3939", Title = "The Long Road", Publisher="New York", Price=25.00, Copyright=2016 },

{ ISBN="988-65-34-9012", Title = "The Warrior", Publisher="McGraw", Price=55.00, Copyright=2013 },

{ ISBN="8712-45-84-2539", Title = "Yesterday", Publisher="New York", Price=67.00, Copyright=2016 },

{ ISBN="1234-78-99-3478", Title = "Programming Essentials", Publisher="Dalton", Price=35.00, Copyright=2015 },

{ ISBN="8356-89-33-3251", Title = "Hello World", Publisher="Chicago Press", Price=115.00, Copyright=2016 },

Using LINQ Query or LINQ Method to perform and display results for the following:

1. Display ISBN, Title, Publisher for all books where Publisher is New York.

2. Display all fields for all books in descending order by Copyright

3. Display all fields for all books in descending order by Copyright Where Publisher is New York

4. Display ISBN, Title for all books with copyright greater than 2015

5. Order the list in descending order by Title and display the ISBN, Title of the first book in the list  

6. Use LINQ to calculate the sum of the price for all books and display average cost

7. Use LINQ to calculate a 3% markup of the price for each book and display the title and markup price.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT