. In which one of the following sentences is but used as a preposition?
A. I wanted to leave, but I was embarrassed to do so.
B. I would like to return to Italy, but I have no money.
C. We discovered that Candy will do anything but work.
D. The lake is pretty, but it's too cold for swimming.