max function in arrays - C#