Basically I have to write a program that asks a user to name the amount of players on their football team, list their names and how many goals they have scored. The output should then be "the top player is..with a score of .. The average goals scored is.. The lowest goals scored is.."

We haven't really covered arrays properly yet, but I have started this question now and it will drive me crazy until I get it done. I know I am probably a good bit away from getting what I need but any point in the right direction would be really appreciated! P.S I know the last bit of my code is completely wrong I just don't know where to go from here. My code:

```
    Console.WriteLine("Enter the amount of players");
    int amount = int.Parse(Console.ReadLine());

    string[] names = new string[amount];
    int[] playerGoals = new int[amount];
    int result;
    string playerName;

    for (int i = 0; i < playerGoals.Length; i++)
    {
        Console.WriteLine("Enter a players name");
        playerName = Console.ReadLine();
        names[i] = playerName;

        Console.WriteLine("Enter how many goals they have score this season");
        result = int.Parse(Console.ReadLine());
        playerGoals[i] = result;
    }

    int minimum = playerGoals.Min();
    int maximum = playerGoals.Max();
    double average = playerGoals.Average();

    Console.WriteLine("The top player is {0} with a score of {1}", maximum);
    Console.WriteLine("");
    Console.WriteLine("The average goals scored is {0}", average);
    Console.WriteLine("");
    Console.WriteLine("The lowest goal scored is {1}");

    Console.ReadLine();

```