Write a complete c# program in console mode

Assignment Help DOT NET Programming
Reference no: EM13787157

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 Data. Eliminate the last column (Pig-Latin) in the data file.

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

Reference no: EM13787157

Questions Cloud

How do you plan to recover loss of current ad ds : How do you plan to recover from these types of loss of current AD DS and other critical information. What utilities might you investigate to help accomplish your plan.
Prepare one journal entry to record the actual fixed : Prepare one journal entry to record the actual fixed overhead cost and the amount applied to production. Include all of the fixed overhead variances in one journal entry (standard costing system).
Which of external environment affects the success of an mnc : Analyze the significant manner in which the external environment affects the success of an MNC within a global market. Suggest two to three actions that MNCs should take in order to be more socially.
Short notes on personalized reflection : Personalized Reflection
Write a complete c# program in console mode : 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.
Sources and uses of cash referencing : Contrast sources and uses of cash referencing using at least two examples of assets and liabilities (four total). Provide examples of how cash is used or provided depending on whether it is categorized as an asset or liability.
New material for system development section : New Material for System Development Section, The organization has asked for a new Web-based customer tracking system to be developed. Take this opportunity to describe the differences between a waterfall model and a prototype.
Write a paper about may politics stay far away from literary : Write a two pages paper about May Politics Stay Far Away From Literary Criticism?
Code of professional conduct principles : Which is NOT one of the AICPA's Code of Professional Conduct principles?

Reviews

Write a Review

DOT NET Programming Questions & Answers

  A parking garage charges a 200 minimum fee to park for up

a parking garage charges a 2.00 minimum fee to park for up to three hours. the garage charges an additional 0.50 per

  Using .net resources to teach .net

This project will use the .NET framework to produce a set of materials to demonstrate the fundamental principles of .NET. Ideally it should demonstrate some of the principles of the framework e.g. interoperability.

  Create an asp.net web application

Create an ASP.NET web application main form containing a list of hyperlinks and images. You will also add a form with five text boxes and a Submit button.

  Compare and contrast database connectivity in vbreg and c

write a 200- to 300-word short-answer response to the followingawhat professional organizations might you join and

  Concepts of home directory

In this lab you will learn the concepts of home directory, working directory, absolute pathname, and relative pathname. You will learn to use cd to make another directory the working directory, pwd to display the name of the working directory, rm ..

  Best way to code radio buttons that when

What is the best way to code radio buttons that when you check a checkbox, the radio buttons become active and add a cost to the Labor Price. I already have the buttons enabled when you select muffler, I can't figure out how to code the radio butt..

  What do terms syntactic sugar and syntactic salt mean

What do the terms "syntactic sugar" and "syntactic salt" mean? From your knowledge of the C# programming language, list at least five syntactic sugar and salt features.

  Write a c# program containing array that holds five integers

Write a C# program containing an array that holds five integers. Assign values to the integers.Display the integers from first to last, and then display them from last to first. Save theprogram as IntegerList.cs.

  Question 1a using a diagram illustrate the basic process in

question 1a using a diagram illustrate the basic process in an asp.net architecture involving at least five objects.b

  Design and implement tower of hanoi puzzle program

Task: Design and implement Tower of Hanoi Puzzle program using C# and Windows Presentation Foundation (WPF) template in Visual Studio 2012 or newer.

  Use linq to sort the list in ascending order

Write a console app that inserts 30 random letters into a List . Perform the following queries on the List and display your results: Use LINQ to sort the List in ascending order

  Very boards does a big business in shirts especially for

very boards does a big business in shirts especially for groups and teams. they need a project that will calculate the

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd