SlideShare a Scribd company logo
1 of 2
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

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

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