Answer:
A."I had hoped," Bill said, "that I could play Captain Courageous in the play."
Explanation:
it is this one because the quotations are in the correct place, whereas B's quotations are only at the beginning and end, and i doubt that in the middle of his sentence, he said "Bill said". this is why the answer is A.