2. In which one of the following sentences is but used as a preposition?

A. I would like to return to Italy, but I have no money.
B. I wanted to leave, but I was embarrassed to do so.
C. The lake is pretty, but it's too cold for swimming.
D. We discovered that Candy will do anything but work.