The correct answer is C. quasi-contract.
A quasi-contract is a legal obligation that is created by law to prevent unjust enrichment. In this case, Mr. A is entitled to recover the amount of dues paid by him from Mr. B because Mr. B was unjustly enriched at Mr. A's expense.
A government contract is a contract between a government and another party. A valid contract is a contract that meets all of the requirements of a contract, such as offer, acceptance, consideration, and capacity. None of these options apply to the situation described in the question.
Here is a more detailed explanation of each option:
- A government contract is a contract between a government and another party. In this case, Mr. A and Mr. B are not parties to a government contract.
- A valid contract is a contract that meets all of the requirements of a contract, such as offer, acceptance, consideration, and capacity. In this case, it is not clear whether Mr. A and Mr. B have entered into a valid contract. However, even if they have, Mr. A would not be entitled to recover the amount of dues paid by him from Mr. B on the basis of a valid contract because Mr. B did not receive any benefit from Mr. A.
- A quasi-contract is a legal obligation that is created by law to prevent unjust enrichment. In this case, Mr. A is entitled to recover the amount of dues paid by him from Mr. B because Mr. B was unjustly enriched at Mr. A's expense. Mr. B was unjustly enriched because he received the benefit of Mr. A's payment of the government dues without giving anything in return.