The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
<>Step 1: Given a file of data, read the data and parse it based on a fixed given field headers. To download the file, select the following link: UNIT 4 SAMPLE (sample was uploaded as an attachment).
Â
<>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 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
Â
qattachments_08bfe0ac80e6a87f69548f53c2350e448ba26650Page 1FirstNameLastNameCompanyAddressCityEddieVazquezOsweep Industries14316 Hancock CircleRichdaleChrisRobinsonFinch Products2133 N West StreetDeerfordBrooklynnTaylorPrism Globe Inc48 E 13th BlvdCorway HillsZionMillerSwitch Pen Company196 State AveLawnworthRubyFlynnSnap SunServices3175 W Carrier LaneMeadowburgBobLewisCode Planet Properties22652 E Easton StEast Fortview LakeSusanHernandezLight Table Bearings9630 S City AveKingstown ReservoirVickyPerezLime Cake Records7421 Jefferson PkwyHearthbridgeLeeHillRound Rock Engineers884 W Glendale RdOld Lindenfield GroveMaryEdwardsSimple Byte Technologies6122 E Blue Vine PrkwyUpper CaldbrookJenniferDavisQuicker Span Reviews2598 Oak RdEast MaymeadowMichelleMartinDiamond Post Surveys329 Brush Cir NWBelcoveConnerLeeCash Pad Loans116 Rail WayAdamsfieldColinBrownEasy Rug Cleaners1612 W Bay RdBridgeingSheilaGarciaClear Blue Window Cleaning152 Broad LnPortcroft CoveRosyKingShots Manufacturing6930 Bass Stream BlvdOld ClarksfaxDavidBakerBox State Trading Corporation6728 Timbuck StPittsfortWillaRobertsLow Sky Seating Company1519 Hawk AveColefordTianaWilliamsCountry Boxes24969 Tibbs CircleChristiansmountDouglasIngramQuicker Cupcakes3450 Lion RdBrunsbeachColtLopezCase Electronics370 Stock AveFort HansvilleStephenPhillipsBrown Technologies1095 SW 2nd RdNew HamfordCatherineSmithSide Sauce Spices140 E 4th StreetHempline IslandCalvinMorrisZippy Sandwiches79 W Broadway AveBayway