Question: FILE INCLUDED WITH ASSIGNMENT IS NAMED: InputRead2.txt Insiside this text document is this: eafcdfghijlk Program we are using: C# with Visual Studios Assignment: Using the

FILE INCLUDED WITH ASSIGNMENT IS NAMED: InputRead2.txt Insiside this text document is this: eafcdfghijlk Program we are using: C# with Visual Studios

Assignment:

Using the techniques you learned in the previous activity, develop code that will take input, line-by-line, from a file and write output to a file. The output file should have the characters alphabetized, line-by-line.

You will accomplish this by creating a method, alphabetize, which has the following method header:

//public static string alphabetize(string letters)

//Takes a string of letters passed to it, converts to an array of characters (use: ToCharArray()), uses Array.Sort to alphabetize, converts

//back to string (new string(char[])and returns the alphabetized version to calling program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!