SlideShare a Scribd company logo
The file is a comma delimited file with the following record
structure:
FirstName – Character – Size (12)
LastName – Character – Size (16)
Company – Character – Size (32)
Address – Character – Size (32)
City – Character – Size (24)
County – Character – Size (24)
State – Character – Size (2)
ZIP – Number – Size (5)
Phone – Character – Size (12)
Fax – Character – Size (12)
Email – Character – Size (32)
Web – Character – Size (42)
Step 2:
Write a complete C# program in console mode to load the data
file as a sequential file using C# System.IO library into an
ArrayList data structure (using the System.Collection library)
Store each line in the file as a separate record.
Step 3:
After the file is loaded into the ArrayList, sort the data in
ascending order based on the LastName field and Display the
following fields:
First name
Last name
Company
Step 4:
Next, sort the data in descending order based on the ZIP field,
and display the following fields:
First name
Last name
Company
ZIP
Step 5:
Display all the records (and all its fields) for everyone that is
in the state "NY."
Step 6:
Submit the source code for the solution and the output
screenshots for the following list. You can use any appropriate
algorithm in the solution.
Sorted data based on last name
Sorted data based on ZIP
Everyone in the state of NY
Please submit your assignment.
For assistance with your assignment, please use your text, Web
resources, and all course materials.
Course Materials

More Related Content

More from todd771

The Failure of Theory to Predict the Way Public SectorOrgani.docx
The Failure of Theory to Predict the Way Public SectorOrgani.docxThe Failure of Theory to Predict the Way Public SectorOrgani.docx
The Failure of Theory to Predict the Way Public SectorOrgani.docx
todd771
 
The Federal Open Market Committee (FOMC) will meet on Sept. 25th a.docx
The Federal Open Market Committee (FOMC) will meet on Sept. 25th a.docxThe Federal Open Market Committee (FOMC) will meet on Sept. 25th a.docx
The Federal Open Market Committee (FOMC) will meet on Sept. 25th a.docx
todd771
 
The Federal Judiciary I. Constitutional Provisions .docx
The Federal Judiciary I. Constitutional Provisions  .docxThe Federal Judiciary I. Constitutional Provisions  .docx
The Federal Judiciary I. Constitutional Provisions .docx
todd771
 
The federal government has assumed responsibility for educating .docx
The federal government has assumed responsibility for educating .docxThe federal government has assumed responsibility for educating .docx
The federal government has assumed responsibility for educating .docx
todd771
 
The Facts Peel Factor is the leading fruit juice provider .docx
The Facts Peel Factor is the leading fruit juice provider .docxThe Facts Peel Factor is the leading fruit juice provider .docx
The Facts Peel Factor is the leading fruit juice provider .docx
todd771
 
The Financial Review 40 (2005) 1--9Reflections on the Effi.docx
The Financial Review 40 (2005) 1--9Reflections on the Effi.docxThe Financial Review 40 (2005) 1--9Reflections on the Effi.docx
The Financial Review 40 (2005) 1--9Reflections on the Effi.docx
todd771
 
The Farmlink ProjectThe Kroger Co. Zero Hunger Zero Waste Found.docx
The Farmlink ProjectThe Kroger Co. Zero Hunger  Zero Waste Found.docxThe Farmlink ProjectThe Kroger Co. Zero Hunger  Zero Waste Found.docx
The Farmlink ProjectThe Kroger Co. Zero Hunger Zero Waste Found.docx
todd771
 
The Final Project is a descriptive narrative divided in two sections.docx
The Final Project is a descriptive narrative divided in two sections.docxThe Final Project is a descriptive narrative divided in two sections.docx
The Final Project is a descriptive narrative divided in two sections.docx
todd771
 
The Final project is to Prepare a 10- to 15-slide PowerPoint p.docx
The Final project is to Prepare a 10- to 15-slide PowerPoint p.docxThe Final project is to Prepare a 10- to 15-slide PowerPoint p.docx
The Final project is to Prepare a 10- to 15-slide PowerPoint p.docx
todd771
 
The Final Project is your opportunity to demonstrate what you ha.docx
The Final Project is your opportunity to demonstrate what you ha.docxThe Final Project is your opportunity to demonstrate what you ha.docx
The Final Project is your opportunity to demonstrate what you ha.docx
todd771
 

More from todd771 (20)

The Failure of Theory to Predict the Way Public SectorOrgani.docx
The Failure of Theory to Predict the Way Public SectorOrgani.docxThe Failure of Theory to Predict the Way Public SectorOrgani.docx
The Failure of Theory to Predict the Way Public SectorOrgani.docx
 
The Federal Open Market Committee (FOMC) will meet on Sept. 25th a.docx
The Federal Open Market Committee (FOMC) will meet on Sept. 25th a.docxThe Federal Open Market Committee (FOMC) will meet on Sept. 25th a.docx
The Federal Open Market Committee (FOMC) will meet on Sept. 25th a.docx
 
The Federal Government’s Fiscal Policy and the National Debt [WLOs.docx
The Federal Government’s Fiscal Policy and the National Debt [WLOs.docxThe Federal Government’s Fiscal Policy and the National Debt [WLOs.docx
The Federal Government’s Fiscal Policy and the National Debt [WLOs.docx
 
The Federal Judiciary I. Constitutional Provisions .docx
The Federal Judiciary I. Constitutional Provisions  .docxThe Federal Judiciary I. Constitutional Provisions  .docx
The Federal Judiciary I. Constitutional Provisions .docx
 
The federal government has assumed responsibility for educating .docx
The federal government has assumed responsibility for educating .docxThe federal government has assumed responsibility for educating .docx
The federal government has assumed responsibility for educating .docx
 
The Facts Peel Factor is the leading fruit juice provider .docx
The Facts Peel Factor is the leading fruit juice provider .docxThe Facts Peel Factor is the leading fruit juice provider .docx
The Facts Peel Factor is the leading fruit juice provider .docx
 
The Federal Courts The judiciary ought to be the defender of .docx
The Federal Courts The judiciary ought to be the defender of .docxThe Federal Courts The judiciary ought to be the defender of .docx
The Federal Courts The judiciary ought to be the defender of .docx
 
The Financial Review 40 (2005) 1--9Reflections on the Effi.docx
The Financial Review 40 (2005) 1--9Reflections on the Effi.docxThe Financial Review 40 (2005) 1--9Reflections on the Effi.docx
The Financial Review 40 (2005) 1--9Reflections on the Effi.docx
 
The financial appraisal report should contain 4 sections that co.docx
The financial appraisal report should contain 4 sections that co.docxThe financial appraisal report should contain 4 sections that co.docx
The financial appraisal report should contain 4 sections that co.docx
 
The financial appraisal report should contain 4 sections that cover .docx
The financial appraisal report should contain 4 sections that cover .docxThe financial appraisal report should contain 4 sections that cover .docx
The financial appraisal report should contain 4 sections that cover .docx
 
The final step in the course project is to develop the presentat.docx
The final step in the course project is to develop the presentat.docxThe final step in the course project is to develop the presentat.docx
The final step in the course project is to develop the presentat.docx
 
The Finalized PlanPlease respond to the following discussion.docx
The Finalized PlanPlease respond to the following discussion.docxThe Finalized PlanPlease respond to the following discussion.docx
The Finalized PlanPlease respond to the following discussion.docx
 
The Final version of the Integrated Investigation Project. Ideally, .docx
The Final version of the Integrated Investigation Project. Ideally, .docxThe Final version of the Integrated Investigation Project. Ideally, .docx
The Final version of the Integrated Investigation Project. Ideally, .docx
 
The final requirement is for the students to submit a 5-7 page res.docx
The final requirement is for the students to submit a 5-7 page res.docxThe final requirement is for the students to submit a 5-7 page res.docx
The final requirement is for the students to submit a 5-7 page res.docx
 
The fact that different organisms posessess the same introns bypervr.docx
The fact that different organisms posessess the same introns bypervr.docxThe fact that different organisms posessess the same introns bypervr.docx
The fact that different organisms posessess the same introns bypervr.docx
 
The Farmlink ProjectThe Kroger Co. Zero Hunger Zero Waste Found.docx
The Farmlink ProjectThe Kroger Co. Zero Hunger  Zero Waste Found.docxThe Farmlink ProjectThe Kroger Co. Zero Hunger  Zero Waste Found.docx
The Farmlink ProjectThe Kroger Co. Zero Hunger Zero Waste Found.docx
 
The Final Project PresentationA student should focus on the .docx
The Final Project PresentationA student should focus on the .docxThe Final Project PresentationA student should focus on the .docx
The Final Project PresentationA student should focus on the .docx
 
The Final Project is a descriptive narrative divided in two sections.docx
The Final Project is a descriptive narrative divided in two sections.docxThe Final Project is a descriptive narrative divided in two sections.docx
The Final Project is a descriptive narrative divided in two sections.docx
 
The Final project is to Prepare a 10- to 15-slide PowerPoint p.docx
The Final project is to Prepare a 10- to 15-slide PowerPoint p.docxThe Final project is to Prepare a 10- to 15-slide PowerPoint p.docx
The Final project is to Prepare a 10- to 15-slide PowerPoint p.docx
 
The Final Project is your opportunity to demonstrate what you ha.docx
The Final Project is your opportunity to demonstrate what you ha.docxThe Final Project is your opportunity to demonstrate what you ha.docx
The Final Project is your opportunity to demonstrate what you ha.docx
 

Recently uploaded

Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
YibeltalNibretu
 

Recently uploaded (20)

Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
The Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational ResourcesThe Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational Resources
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
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
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Forest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFForest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDF
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 

The file is a comma delimited file with the following record struc.docx

  • 1. The file is a comma delimited file with the following record structure: FirstName – Character – Size (12) LastName – Character – Size (16) Company – Character – Size (32) Address – Character – Size (32) City – Character – Size (24) County – Character – Size (24) State – Character – Size (2) ZIP – Number – Size (5) Phone – Character – Size (12) Fax – Character – Size (12) Email – Character – Size (32) Web – Character – Size (42) Step 2: Write a complete C# program in console mode to load the data file as a sequential file using C# System.IO library into an ArrayList data structure (using the System.Collection library) Store each line in the file as a separate record. Step 3: After the file is loaded into the ArrayList, sort the data in ascending order based on the LastName field and Display the following fields: First name Last name Company Step 4: Next, sort the data in descending order based on the ZIP field, and display the following fields:
  • 2. First name Last name Company ZIP Step 5: Display all the records (and all its fields) for everyone that is in the state "NY." Step 6: Submit the source code for the solution and the output screenshots for the following list. You can use any appropriate algorithm in the solution. Sorted data based on last name Sorted data based on ZIP Everyone in the state of NY Please submit your assignment. For assistance with your assignment, please use your text, Web resources, and all course materials. Course Materials