Question #2:- (Display the list records of the distribution class only) After solved the Question #1, attempt the following tasks: 1. Declare the collection object of the Grain-Distribution class using the List/Array(with 6 Length) dataType in Main-Method. 2. Assign all values of 6 records in your list/array object one by one. 3. Display all records on the screen of your Console or WinForm application. Expected output list records for the child class DistributionID DistDate DistQuantity Grainld GrainName cardHolderld cardHolderName cardHolderAddress cardHolderType COVID-19 COVID-19 1 Ahmed Orangi Town Korangi Jail Roal 1 01-Apr-20 5 kg 2 01-Apr-20 5 kg 3 01-Apr-20 2 kg 4 10-Apr-20 5 kg 5 10-Apr-20 5 kg 6 10-Apr-20 2 kg 1 Rrice 2 Flour 2 Bilal 3 Lentils (Dal) 3 Fahad 2 Bilal COVID-19 COVID-19 1 Rrice 2 Flour Korangi Jail Roal 3 Fahad 1 Ahmed COVID-19 COVID-19 3 Lentils (Dal) Orangi Town

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Language C#

Question #2:- (Display the list records of the distribution class only)
After solved the Question #1, attempt the following tasks:
1. Declare the collection object of the Grain-Distribution class using the List/Array(with 6
Length) dataType in Main-Method.
2. Assign all values of 6 records in your list/array object one by one.
3. Display all records on the screen of your Console or WinForm application.
Expected output list records for the child class
DistributionID DistDate DistQuantity Grainld GrainName cardHolderld cardHolderName cardHolderAddress cardHolderType
101-Apr-20 5 kg
2 01-Apr-20 5 kg
3 01-Apr-20 2 kg
4 10-Apr-20 5 kg
Ahmed
Orangi Town
Korangi
Jail Roal
Korangi
Jail Roal
Orangi Town
Rrice
COVID-19
2 Flour
2 Bilal
COVID-19
COVID-19
COVID-19
COVID-19
COVID-19
3 Fahad
3 Lentils (Dal)
1 Rrice
2 Bilal
5 10-Apr-20 5 kg
6 10-Apr-20 2 kg
3 Fahad
1 Ahmed
2 Flour
3 Lentils (Dal)
Transcribed Image Text:Question #2:- (Display the list records of the distribution class only) After solved the Question #1, attempt the following tasks: 1. Declare the collection object of the Grain-Distribution class using the List/Array(with 6 Length) dataType in Main-Method. 2. Assign all values of 6 records in your list/array object one by one. 3. Display all records on the screen of your Console or WinForm application. Expected output list records for the child class DistributionID DistDate DistQuantity Grainld GrainName cardHolderld cardHolderName cardHolderAddress cardHolderType 101-Apr-20 5 kg 2 01-Apr-20 5 kg 3 01-Apr-20 2 kg 4 10-Apr-20 5 kg Ahmed Orangi Town Korangi Jail Roal Korangi Jail Roal Orangi Town Rrice COVID-19 2 Flour 2 Bilal COVID-19 COVID-19 COVID-19 COVID-19 COVID-19 3 Fahad 3 Lentils (Dal) 1 Rrice 2 Bilal 5 10-Apr-20 5 kg 6 10-Apr-20 2 kg 3 Fahad 1 Ahmed 2 Flour 3 Lentils (Dal)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Introduction to computer system
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education