How do you make use of the local function? Let's add a line to our Main function. Type the following:
WriteLine(FindBiggestValue(10, 5, 6));
According to the code we've created, the preceding code should return the biggest value, which is 10 here. Let's go ahead and check that. Go to Debug > Start without debugging. You should see the following:
Figure 7.1: The Debug for the Biggest value function
As you can see, 10 really is the biggest value. That's good. Just to test it, let's change those values to 1, 6, and -3. It should return 6. Let's take a look at the result. Go to Debug > Start Without Debugging:
>
Figure 7.2: Reiterating the Debug process
It says 6. There you go. Remember that the simple way in which we've designed this assumes that the values you're entering here are not equal to one another. If you...