Array first element. Алгоритм given an array a of n integers. find the maximum of the elements.. c# check if class is derived. add element to array c. c# hot to check if class inherited.