Step 1: Given a file of data, read the data and parse it based on a fixed given field headers. Unit 4 Sample Data is uploaded. (.CSV) The file should not be 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
Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.
[order_calculator]
