Illegality - Law of Contract
Therefore an agreement to constitute a legally enforceable contract then it must have been entered into to a lawful purpose. But an agreement to do something that is prohibited through statute or the common law is not a contract - while such agreements are generally identify "illegal contracts as.
Contracts illegal by statute
Although a particular contract is prohibited through a particular statute depends on the wording of the statute. Whether like, employment act to contracts for the payment of wages or salaries in kind are unlawful.