Arrays dot product

Write a query that returns dot product of two arrays.
Expected input and output
[1, 2, 3], [4, 5, 6] → 32 [7, -9, 3, -5], [9, 1, 0, -4] → 74
using System;
using System.Linq;

namespace CSharpExercises.Exercises.LINQ
{
    class ArraysDotProduct
    {
        public static void Main()
        {
            int[] array1 = new int[] { 5, 8, 2, 9 };
            int[] array2 = new int[] { 1, 7, 2, 4 };

            int dotProduct = array1.Zip(array2, (a, b) => a * b).Sum();

            Console.WriteLine(dotProduct); // 101
        }
    }
}