单项选择题

Which of the following statements is true of the doctrine of quasi contract?()

A.It allows a court to award monetary damages to a defendant because no actual contract existed between the parties
B.It applies only where there is an enforceable contract between the parties
C.It is an equitable doctrine intended to prevent unjust enrichment
D.Agreement between parties to a quasi contract has been inferred from their conduct