I would love______to the party last night, but I had to work ext

I would love______to the party last night, but I had to work extra hours to finish a report.( )

A.to go

B.to have gone

C.going

D.having gone

正确答案是B