During which phase of meiosis does crossing over occur?

(A)metaphase I
(B)metaphase II
(C)prophase I
(D)prophase II