SlideShare a Scribd company logo
Create a console application Customer Management with Classes and Delegate/Event
PLEASE DO THIS IN C#
1. Customer Class
Private variable
firstName, lastName, email, id
(you could use a phone number as id)
Constructor
Customer()
Customer(firstName, lastName, email, id)
Properties
FirstName,
LastName,
Email,
ID
Method
public string GetDisplayText()
2. CustomerList Class
Add the following members to the CustomerList class
Property (Read only)
Count
Indexer
[index]
Provides access to the Customer at the specified position.
public Customer this[int index]{...}
Method
Add(customer)
Remove(customer)
Delegate & Event
public delegate void ChangeHandler(CustomerList customers);
public event ChangeHandler ? Changed;
The event Changed uses the ChangeHandler delegate and should be raised any time the
customer list changes
3. Main Program
Allow a user to choose from the following options, then guide the user through the add or delete
functions. Make your application self-explanatory and user-friendly.
Option 1: Add a new customer
Option 2: Delete a customer
Option 3: Exit the program
Subscribe to the Changed event. Whenever there is a change in the CustomerList (add or delete),
display on the console the entire list of the customers with name, email and ID information
Private variable
firstName, lastName, email, id
(you could use a phone number as id)
Constructor
Customer()
Customer(firstName, lastName,
email, id)
Create a new Customer Objects
Properties
FirstName,
LastName,
Email,
ID
Customer information
Method
public string GetDisplayText()
Get the customer information (Name, Email, ID), and
return a string.
Create a console application Customer Management with Classes and Dele (1).pdf

More Related Content

Similar to Create a console application Customer Management with Classes and Dele (1).pdf

ax2012
 ax2012 ax2012
ax2012
hailtaron
 
Unit iii vb_study_materials
Unit iii vb_study_materialsUnit iii vb_study_materials
Unit iii vb_study_materials
gayaramesh
 
Quick Guide to Get Started with ShoutOUT V4.0
Quick Guide to Get Started with ShoutOUT V4.0 Quick Guide to Get Started with ShoutOUT V4.0
Quick Guide to Get Started with ShoutOUT V4.0
Tharindu Dassanayake
 
Create an other activity lesson 3
Create an other activity lesson 3Create an other activity lesson 3
Create an other activity lesson 3
Kalluri Vinay Reddy
 
06 win forms
06 win forms06 win forms
06 win forms
mrjw
 
Practicalfileofvb workshop
Practicalfileofvb workshopPracticalfileofvb workshop
Practicalfileofvb workshopdhi her
 
Create New Android Activity
Create New Android ActivityCreate New Android Activity
Create New Android Activity
Transpose Solutions Inc
 
This assignment has two parts. The first part requires you to cr.docx
This assignment has two parts. The first part requires you to cr.docxThis assignment has two parts. The first part requires you to cr.docx
This assignment has two parts. The first part requires you to cr.docx
gasciognecaren
 
Leverage StandardSetController in Apex and Visualforce
Leverage StandardSetController in Apex and VisualforceLeverage StandardSetController in Apex and Visualforce
Leverage StandardSetController in Apex and VisualforceSalesforce Developers
 
Computer-programming-User-defined-function-1.pptx
Computer-programming-User-defined-function-1.pptxComputer-programming-User-defined-function-1.pptx
Computer-programming-User-defined-function-1.pptx
JohnRehldeGracia
 
Insert Your Name and ClassIT Online Training (ITOT) Analys.docx
Insert Your Name and ClassIT Online Training (ITOT) Analys.docxInsert Your Name and ClassIT Online Training (ITOT) Analys.docx
Insert Your Name and ClassIT Online Training (ITOT) Analys.docx
doylymaura
 
Insert Your Name and ClassIT Online Training (ITOT) Analys.docx
Insert Your Name and ClassIT Online Training (ITOT) Analys.docxInsert Your Name and ClassIT Online Training (ITOT) Analys.docx
Insert Your Name and ClassIT Online Training (ITOT) Analys.docx
carliotwaycave
 
Business App Programming Course Project
Business App Programming Course ProjectBusiness App Programming Course Project
Business App Programming Course ProjectCarmen Lampkin
 
Ventures Unlimited Product Overview Vtxt
Ventures Unlimited   Product Overview   VtxtVentures Unlimited   Product Overview   Vtxt
Ventures Unlimited Product Overview VtxtArun R
 
Intake 38 9
Intake 38 9Intake 38 9
Intake 38 9
Mahmoud Ouf
 
Project: Call Center Management
Project: Call Center ManagementProject: Call Center Management
Project: Call Center Management
pritamkumar
 
Visual Basic Review - ICA
Visual Basic Review - ICAVisual Basic Review - ICA
Visual Basic Review - ICA
emtrajano
 

Similar to Create a console application Customer Management with Classes and Dele (1).pdf (20)

ax2012
 ax2012 ax2012
ax2012
 
Unit iii vb_study_materials
Unit iii vb_study_materialsUnit iii vb_study_materials
Unit iii vb_study_materials
 
Observer pattern
Observer patternObserver pattern
Observer pattern
 
Quick Guide to Get Started with ShoutOUT V4.0
Quick Guide to Get Started with ShoutOUT V4.0 Quick Guide to Get Started with ShoutOUT V4.0
Quick Guide to Get Started with ShoutOUT V4.0
 
Create an other activity lesson 3
Create an other activity lesson 3Create an other activity lesson 3
Create an other activity lesson 3
 
06 win forms
06 win forms06 win forms
06 win forms
 
Practicalfileofvb workshop
Practicalfileofvb workshopPracticalfileofvb workshop
Practicalfileofvb workshop
 
Observer pattern
Observer patternObserver pattern
Observer pattern
 
Create New Android Activity
Create New Android ActivityCreate New Android Activity
Create New Android Activity
 
This assignment has two parts. The first part requires you to cr.docx
This assignment has two parts. The first part requires you to cr.docxThis assignment has two parts. The first part requires you to cr.docx
This assignment has two parts. The first part requires you to cr.docx
 
Leverage StandardSetController in Apex and Visualforce
Leverage StandardSetController in Apex and VisualforceLeverage StandardSetController in Apex and Visualforce
Leverage StandardSetController in Apex and Visualforce
 
Computer-programming-User-defined-function-1.pptx
Computer-programming-User-defined-function-1.pptxComputer-programming-User-defined-function-1.pptx
Computer-programming-User-defined-function-1.pptx
 
Insert Your Name and ClassIT Online Training (ITOT) Analys.docx
Insert Your Name and ClassIT Online Training (ITOT) Analys.docxInsert Your Name and ClassIT Online Training (ITOT) Analys.docx
Insert Your Name and ClassIT Online Training (ITOT) Analys.docx
 
Insert Your Name and ClassIT Online Training (ITOT) Analys.docx
Insert Your Name and ClassIT Online Training (ITOT) Analys.docxInsert Your Name and ClassIT Online Training (ITOT) Analys.docx
Insert Your Name and ClassIT Online Training (ITOT) Analys.docx
 
Business App Programming Course Project
Business App Programming Course ProjectBusiness App Programming Course Project
Business App Programming Course Project
 
Ventures Unlimited Product Overview Vtxt
Ventures Unlimited   Product Overview   VtxtVentures Unlimited   Product Overview   Vtxt
Ventures Unlimited Product Overview Vtxt
 
Tutorials3
Tutorials3Tutorials3
Tutorials3
 
Intake 38 9
Intake 38 9Intake 38 9
Intake 38 9
 
Project: Call Center Management
Project: Call Center ManagementProject: Call Center Management
Project: Call Center Management
 
Visual Basic Review - ICA
Visual Basic Review - ICAVisual Basic Review - ICA
Visual Basic Review - ICA
 

More from AlexanderM4ZColemann

Create a complete class named Member- The Member class should include.pdf
Create a complete class named Member- The Member class should include.pdfCreate a complete class named Member- The Member class should include.pdf
Create a complete class named Member- The Member class should include.pdf
AlexanderM4ZColemann
 
Create a class called teachers- for which assign the ID to be 400 and.pdf
Create a class called teachers- for which assign the ID to be 400 and.pdfCreate a class called teachers- for which assign the ID to be 400 and.pdf
Create a class called teachers- for which assign the ID to be 400 and.pdf
AlexanderM4ZColemann
 
Create a Client-Server TCP application using Python (See slides from c.pdf
Create a Client-Server TCP application using Python (See slides from c.pdfCreate a Client-Server TCP application using Python (See slides from c.pdf
Create a Client-Server TCP application using Python (See slides from c.pdf
AlexanderM4ZColemann
 
Crane provides shuttle service between 4 hotels near a medical center.pdf
Crane provides shuttle service between 4 hotels near a medical center.pdfCrane provides shuttle service between 4 hotels near a medical center.pdf
Crane provides shuttle service between 4 hotels near a medical center.pdf
AlexanderM4ZColemann
 
Crane Inc- had the following transactions pertaining to investments in.pdf
Crane Inc- had the following transactions pertaining to investments in.pdfCrane Inc- had the following transactions pertaining to investments in.pdf
Crane Inc- had the following transactions pertaining to investments in.pdf
AlexanderM4ZColemann
 
Craft ascript that- - displess the informationin Data to the CW as foa.pdf
Craft ascript that- - displess the informationin Data to the CW as foa.pdfCraft ascript that- - displess the informationin Data to the CW as foa.pdf
Craft ascript that- - displess the informationin Data to the CW as foa.pdf
AlexanderM4ZColemann
 
Coyne Corporation recently hired Elaine Herrold as its new bookkeeper-.pdf
Coyne Corporation recently hired Elaine Herrold as its new bookkeeper-.pdfCoyne Corporation recently hired Elaine Herrold as its new bookkeeper-.pdf
Coyne Corporation recently hired Elaine Herrold as its new bookkeeper-.pdf
AlexanderM4ZColemann
 
Courve- inscoteris- wedediat the red of thin chielec)res- fiure 12-11.pdf
Courve- inscoteris- wedediat the red of thin chielec)res- fiure 12-11.pdfCourve- inscoteris- wedediat the red of thin chielec)res- fiure 12-11.pdf
Courve- inscoteris- wedediat the red of thin chielec)res- fiure 12-11.pdf
AlexanderM4ZColemann
 
Countries of the Gulf Cooperation Council (GCC) have grown dependent o.pdf
Countries of the Gulf Cooperation Council (GCC) have grown dependent o.pdfCountries of the Gulf Cooperation Council (GCC) have grown dependent o.pdf
Countries of the Gulf Cooperation Council (GCC) have grown dependent o.pdf
AlexanderM4ZColemann
 
Countries that offer foreign firms a reduced set of environmental stan.pdf
Countries that offer foreign firms a reduced set of environmental stan.pdfCountries that offer foreign firms a reduced set of environmental stan.pdf
Countries that offer foreign firms a reduced set of environmental stan.pdf
AlexanderM4ZColemann
 
could you provide the formula used to find the yearly avearge- seasona.pdf
could you provide the formula used to find the yearly avearge- seasona.pdfcould you provide the formula used to find the yearly avearge- seasona.pdf
could you provide the formula used to find the yearly avearge- seasona.pdf
AlexanderM4ZColemann
 
could you please answer using excel formulas- A good stock-based mutua.pdf
could you please answer using excel formulas- A good stock-based mutua.pdfcould you please answer using excel formulas- A good stock-based mutua.pdf
could you please answer using excel formulas- A good stock-based mutua.pdf
AlexanderM4ZColemann
 
Copy the above function code (the first four code lines) into the Func.pdf
Copy the above function code (the first four code lines) into the Func.pdfCopy the above function code (the first four code lines) into the Func.pdf
Copy the above function code (the first four code lines) into the Func.pdf
AlexanderM4ZColemann
 
Convert z-1-9e(3-50-3i) to standard form- Show your work- (1).pdf
Convert z-1-9e(3-50-3i) to standard form- Show your work- (1).pdfConvert z-1-9e(3-50-3i) to standard form- Show your work- (1).pdf
Convert z-1-9e(3-50-3i) to standard form- Show your work- (1).pdf
AlexanderM4ZColemann
 
Convergent evolution --- depends on natural selection to independently.pdf
Convergent evolution --- depends on natural selection to independently.pdfConvergent evolution --- depends on natural selection to independently.pdf
Convergent evolution --- depends on natural selection to independently.pdf
AlexanderM4ZColemann
 
Coronado Company reports the following financial information before ad.pdf
Coronado Company reports the following financial information before ad.pdfCoronado Company reports the following financial information before ad.pdf
Coronado Company reports the following financial information before ad.pdf
AlexanderM4ZColemann
 
Copy the code below a file called ex7-6- py- Fill in the blank in chan.pdf
Copy the code below a file called ex7-6- py- Fill in the blank in chan.pdfCopy the code below a file called ex7-6- py- Fill in the blank in chan.pdf
Copy the code below a file called ex7-6- py- Fill in the blank in chan.pdf
AlexanderM4ZColemann
 
Coretta sold the following securities during 2021- What is Coretta's n (1).pdf
Coretta sold the following securities during 2021- What is Coretta's n (1).pdfCoretta sold the following securities during 2021- What is Coretta's n (1).pdf
Coretta sold the following securities during 2021- What is Coretta's n (1).pdf
AlexanderM4ZColemann
 
contributed by two parents is blended together to produce an offspring.pdf
contributed by two parents is blended together to produce an offspring.pdfcontributed by two parents is blended together to produce an offspring.pdf
contributed by two parents is blended together to produce an offspring.pdf
AlexanderM4ZColemann
 
Convert r-010 into an NFA using mechanical steps- Show your work at ea.pdf
Convert r-010 into an NFA using mechanical steps- Show your work at ea.pdfConvert r-010 into an NFA using mechanical steps- Show your work at ea.pdf
Convert r-010 into an NFA using mechanical steps- Show your work at ea.pdf
AlexanderM4ZColemann
 

More from AlexanderM4ZColemann (20)

Create a complete class named Member- The Member class should include.pdf
Create a complete class named Member- The Member class should include.pdfCreate a complete class named Member- The Member class should include.pdf
Create a complete class named Member- The Member class should include.pdf
 
Create a class called teachers- for which assign the ID to be 400 and.pdf
Create a class called teachers- for which assign the ID to be 400 and.pdfCreate a class called teachers- for which assign the ID to be 400 and.pdf
Create a class called teachers- for which assign the ID to be 400 and.pdf
 
Create a Client-Server TCP application using Python (See slides from c.pdf
Create a Client-Server TCP application using Python (See slides from c.pdfCreate a Client-Server TCP application using Python (See slides from c.pdf
Create a Client-Server TCP application using Python (See slides from c.pdf
 
Crane provides shuttle service between 4 hotels near a medical center.pdf
Crane provides shuttle service between 4 hotels near a medical center.pdfCrane provides shuttle service between 4 hotels near a medical center.pdf
Crane provides shuttle service between 4 hotels near a medical center.pdf
 
Crane Inc- had the following transactions pertaining to investments in.pdf
Crane Inc- had the following transactions pertaining to investments in.pdfCrane Inc- had the following transactions pertaining to investments in.pdf
Crane Inc- had the following transactions pertaining to investments in.pdf
 
Craft ascript that- - displess the informationin Data to the CW as foa.pdf
Craft ascript that- - displess the informationin Data to the CW as foa.pdfCraft ascript that- - displess the informationin Data to the CW as foa.pdf
Craft ascript that- - displess the informationin Data to the CW as foa.pdf
 
Coyne Corporation recently hired Elaine Herrold as its new bookkeeper-.pdf
Coyne Corporation recently hired Elaine Herrold as its new bookkeeper-.pdfCoyne Corporation recently hired Elaine Herrold as its new bookkeeper-.pdf
Coyne Corporation recently hired Elaine Herrold as its new bookkeeper-.pdf
 
Courve- inscoteris- wedediat the red of thin chielec)res- fiure 12-11.pdf
Courve- inscoteris- wedediat the red of thin chielec)res- fiure 12-11.pdfCourve- inscoteris- wedediat the red of thin chielec)res- fiure 12-11.pdf
Courve- inscoteris- wedediat the red of thin chielec)res- fiure 12-11.pdf
 
Countries of the Gulf Cooperation Council (GCC) have grown dependent o.pdf
Countries of the Gulf Cooperation Council (GCC) have grown dependent o.pdfCountries of the Gulf Cooperation Council (GCC) have grown dependent o.pdf
Countries of the Gulf Cooperation Council (GCC) have grown dependent o.pdf
 
Countries that offer foreign firms a reduced set of environmental stan.pdf
Countries that offer foreign firms a reduced set of environmental stan.pdfCountries that offer foreign firms a reduced set of environmental stan.pdf
Countries that offer foreign firms a reduced set of environmental stan.pdf
 
could you provide the formula used to find the yearly avearge- seasona.pdf
could you provide the formula used to find the yearly avearge- seasona.pdfcould you provide the formula used to find the yearly avearge- seasona.pdf
could you provide the formula used to find the yearly avearge- seasona.pdf
 
could you please answer using excel formulas- A good stock-based mutua.pdf
could you please answer using excel formulas- A good stock-based mutua.pdfcould you please answer using excel formulas- A good stock-based mutua.pdf
could you please answer using excel formulas- A good stock-based mutua.pdf
 
Copy the above function code (the first four code lines) into the Func.pdf
Copy the above function code (the first four code lines) into the Func.pdfCopy the above function code (the first four code lines) into the Func.pdf
Copy the above function code (the first four code lines) into the Func.pdf
 
Convert z-1-9e(3-50-3i) to standard form- Show your work- (1).pdf
Convert z-1-9e(3-50-3i) to standard form- Show your work- (1).pdfConvert z-1-9e(3-50-3i) to standard form- Show your work- (1).pdf
Convert z-1-9e(3-50-3i) to standard form- Show your work- (1).pdf
 
Convergent evolution --- depends on natural selection to independently.pdf
Convergent evolution --- depends on natural selection to independently.pdfConvergent evolution --- depends on natural selection to independently.pdf
Convergent evolution --- depends on natural selection to independently.pdf
 
Coronado Company reports the following financial information before ad.pdf
Coronado Company reports the following financial information before ad.pdfCoronado Company reports the following financial information before ad.pdf
Coronado Company reports the following financial information before ad.pdf
 
Copy the code below a file called ex7-6- py- Fill in the blank in chan.pdf
Copy the code below a file called ex7-6- py- Fill in the blank in chan.pdfCopy the code below a file called ex7-6- py- Fill in the blank in chan.pdf
Copy the code below a file called ex7-6- py- Fill in the blank in chan.pdf
 
Coretta sold the following securities during 2021- What is Coretta's n (1).pdf
Coretta sold the following securities during 2021- What is Coretta's n (1).pdfCoretta sold the following securities during 2021- What is Coretta's n (1).pdf
Coretta sold the following securities during 2021- What is Coretta's n (1).pdf
 
contributed by two parents is blended together to produce an offspring.pdf
contributed by two parents is blended together to produce an offspring.pdfcontributed by two parents is blended together to produce an offspring.pdf
contributed by two parents is blended together to produce an offspring.pdf
 
Convert r-010 into an NFA using mechanical steps- Show your work at ea.pdf
Convert r-010 into an NFA using mechanical steps- Show your work at ea.pdfConvert r-010 into an NFA using mechanical steps- Show your work at ea.pdf
Convert r-010 into an NFA using mechanical steps- Show your work at ea.pdf
 

Recently uploaded

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 

Recently uploaded (20)

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 

Create a console application Customer Management with Classes and Dele (1).pdf

  • 1. Create a console application Customer Management with Classes and Delegate/Event PLEASE DO THIS IN C# 1. Customer Class Private variable firstName, lastName, email, id (you could use a phone number as id) Constructor Customer() Customer(firstName, lastName, email, id) Properties FirstName, LastName, Email, ID Method public string GetDisplayText() 2. CustomerList Class Add the following members to the CustomerList class Property (Read only) Count Indexer [index] Provides access to the Customer at the specified position. public Customer this[int index]{...} Method Add(customer) Remove(customer)
  • 2. Delegate & Event public delegate void ChangeHandler(CustomerList customers); public event ChangeHandler ? Changed; The event Changed uses the ChangeHandler delegate and should be raised any time the customer list changes 3. Main Program Allow a user to choose from the following options, then guide the user through the add or delete functions. Make your application self-explanatory and user-friendly. Option 1: Add a new customer Option 2: Delete a customer Option 3: Exit the program Subscribe to the Changed event. Whenever there is a change in the CustomerList (add or delete), display on the console the entire list of the customers with name, email and ID information Private variable firstName, lastName, email, id (you could use a phone number as id) Constructor Customer() Customer(firstName, lastName, email, id) Create a new Customer Objects Properties FirstName, LastName, Email, ID Customer information Method public string GetDisplayText() Get the customer information (Name, Email, ID), and return a string.