Get the mean of an array

I’m stumped on the exercise from Codewars. Can anyone help please?

Return the average of the given array rounded down to its nearest integer.

public static int GetAverage(int[] marks)