单项选择题

I just met her ______ on the way home from the bookstore.

A.on purpose
B.by accident
C.in accident
D.in case