We perform the analytic continuation of solutions to the hypergeometric differential equation of order n to the third regular singularity, usually denoted z=1, with the help of recurrences of their Mellin--Barnes integral representations. In the resonant case, there are necessarily logarithmic solutions. We apply the result to Picard-Fuchs equations of certain one--parameter families of Calabi--Yau manifolds, known as the mirror quartic and the mirror quintic.