First of all, open a blank console project and begin with the standard starting template. So type the following:
using static System.Console; class Program { static void Main() { } }
Here, we've created our entry point to the program. What we are going to do is create a function that compares two values. So below the closing curly brace of our Main function, type the following:
private static double FindBiggestValue(double x, double y, double z) {
}
Remember that private means that it is accessible only from here, and static means you can call it directly by writing its name. Next, let's pass the three values we're going to compare to our new function.