Question: I need help with an application in C# using Visual Studio. I have this text file called random.txt that contains 1 0 0 random integers,

I need help with an application in C# using Visual Studio.
I have this text file called random.txt that contains 100 random integers, and I need to make an application that reads the contents of the file into a List. Then, uses List methods to perform the following:
Use the RemoveAll method to remove all the List elements that contain a negative number.
Use the FindAll method to make a second List containing all the values that are within the range of 1 through 10. Display these values in a ListBox.
I can't seem to figure out how to set up my application- how it should look with Listbox(s), labels, etc. I also can't get the functions to work. Any help is appreciated. Thank you.
A copy of the random.txt file that I am using:
88
-62
25
93
93
57
97
19
8
-23
-91
-50
45
61
26
-5
-37
-8
41
88
35
23
-85
-95
-59
23
-89
-19
-1
-70
58
85
17
96
-68
-54
24
-67
-6
78
85
-99
40
-71
72
14
91
86
26
-30
6
39
-59
75
15
-35
-77
19
52
-31
46
15
-81
33
18
-76
32
49
7
-21
70
-70
97
62
-98
34
82
86
-68
26
32
-75
55
-71
24
-81
44
41
-19
67
-77
-96
-19
-75
-68
-30
81
-94
11
2

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!