Which sentence correctly uses a semicolon?

A. I had a hard time choosing; did I want to learn the violin or the drums?

B. Amelia's performance in the school play was astonishing; the audience had never had a better time.

C. He learned one important lesson from his experience: always check the weather before planning a picnic

D. Either there really was a shark nearby: or it was just a false alarm.​​