Question: In C#! Please dont copy paste code Write a Windows Form Application that uses a file dialog control to allow the user to select a

In C#! Please dont copy paste code

Write a Windows Form Application that uses a file dialog control to allow the user to select a file for input, processing the contents of the file as follows: 1. Converts all the words to lower-case. 2. Finds the first and last word alphabetically. 3. Finds the longest word. 4. Finds the word with the most vowels.

This is my current code, I have part 1 completed, it converted all the words to lowercase, i need everything else

private void button1_Click(object sender, EventArgs e) { if (openFile.ShowDialog() == DialogResult.OK) { string readFile; StreamReader inputFile; Array sort; inputFile = File.OpenText(openFile.FileName); readFile = inputFile.ReadToEnd().ToLower(); fileTextBox.Text = readFile; }

else { MessageBox.Show("Cancelled"); } }

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!