Question
In this assignment, you will use a text file and a series of LINQ queries to create an interface to search a contacts list for
In this assignment, you will use a text file and a series of LINQ queries to create an interface to search a contacts list for a particular e-mail address or a particular person. I have provided you a text file that will serve as the basis for this assignment. It consists of the person's first name, last name, and the e-mail address, all separated by commas.
There are numerous ways to conduct this particular procedure, however, I am asking you to do this in a very specific way so that you get experience working with the types of things covered in the previous two sections.
- Use an Open File Dialog control to select the particular text that you will be reading in
- Use the .Split method to store the individual elements of that file as an array of arrays of String values
- Add a text box and a list to search for all names that start with a particular set of characters that you type in the box
- Add a text box and a list to search for all e-mail addresses that end with a particular set of characters that you type in the box
- Design the two LINQ queries that are needed to perform those tasks (namely display in the list)
- Create a separate button that will use a streamwriter to output all e-mail addresses ending in ".edu" to its own text file
this is the file to be used. PLEASE DO NOT JUST COPY OTHER ANSWERS POSTED> THEY DONT ANSWER THE STEPS TO THE QUESTION
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started