public static void Main()
Console.WriteLine("How many numbers do you want the sum to be of.");
int amount = int.Parse(Console.ReadLine());
int[] numArray = new int[amount];
for (int i = 0; i < amount; i++)
Console.Write("Enter in your number: ");
int num = int.Parse(Console.ReadLine());
total = numArray[totalCount] + total;
Console.WriteLine(total);