单项选择题

I ______ to him because he phoned me shortly afterwards.

A.ought to not have written
B.shouldn't have written
C.couldn't have written
D.needn't have written