Stop and think about what you are doing.
The code you show has the set load commented out - so the array is never set to a value, so you can never find any value other than zero (the default for an
int
)
And when you do have that code in, it doesn't fill the array - it reads five numbers from the user and uses them to fill the first five locations in the 100 you have allocated. And you prompt to the user is bad as well:
Console.WriteLine("\nEnter arrays of 10 set numbers (strike enter after each set of numbers\n");
Because the way I would read that message is that I should enter:
1,2,3,4,5,6,7,8,9,10[ENTER]
And that will make your program crash.
And worse - your method would only work if I enter the numbers as a sorted list - if I enter then unsorted or reversed:
10,9,8,7,6,5,4,3,2,1
Then your code only find values exactly in the middle.
Seriously: think about the task you have been assigned, and work out on paper how you would do it manually. Because at the moment, you just seem to be trying to guess what works, and that is a recipe for a lot of trouble and wasted work!