using visual studio and the C# please dont copy the previous answered questions because the solution is incorrect In the Chap07 folder of the Student Sample Programs, you will find a file named ChargeAccounts.txt. The file contains a list of a company’s valid charge account numbers. There are a total of 18 charge account numbers in the file, and each one is a 7-digit number, such as 5658845. Create an application that reads the contents of the file into an array or a List. The application should then let the user enter a charge account number. The program should determine whether the number is valid by searching for it in the array or List that contains the valid charge account numbers. If the number is in the array or List, the program should display a message indicating the number is valid. If the number is not in the array or List, the program should display a message indicating the number is invalid
using visual studio and the C# please dont copy the previous answered questions because the solution is incorrect
In the Chap07 folder of the Student Sample Programs, you will find a file named ChargeAccounts.txt. The file contains a list of a company’s valid charge account numbers. There are a total of 18 charge account numbers in the file, and each one is a 7-digit number, such as 5658845.
Create an application that reads the contents of the file into an array or a List. The application should then let the user enter a charge account number. The
Let's do the following
First get the data from the file and push in to the array list
then we check if the numbers is valid or not
Step by step
Solved in 2 steps
is this done with Visual Studio because it looks like stragiht C#