The correct answer is: C. Both A and B

Quasi-contracts are legal obligations that arise in the absence of an express contract. They are based on the idea that a person should not be unjustly enriched at the expense of another.

There are two main types of quasi-contracts:

  • Restitution is a quasi-contract that arises when one person benefits from another's property or services without their consent. For example, if you find someone's lost wallet and keep the money inside, you may be liable to the owner of the wallet for restitution.
  • Unjust enrichment is a quasi-contract that arises when one person benefits from another's property or services without giving anything in return. For example, if you agree to babysit your neighbor's child and they fail to pay you, you may be able to sue them for unjust enrichment.

In the case of a person supplying necessaries to an incompetent person, the quasi-contractual obligation arises because the incompetent person is unable to enter into a contract. The person who supplies the necessaries is therefore entitled to be reimbursed for their expenses.

In the case of a person making payment of money or delivery of goods under coercion, the quasi-contractual obligation arises because the person was not acting voluntarily. The person who made the payment or delivery is therefore entitled to recover the money or goods.

It is important to note that quasi-contracts are not the same as torts. Torts are civil wrongs that are committed against another person. Quasi-contracts, on the other hand, are not based on any wrongdoing. They are simply a way of ensuring that people are not unjustly enriched at the expense of others.