If a contract stipulates that it cannot be assigned, then it cannot be assigned unless the assignment
A. involves ownership rights in real estate.
B. is contrary to public policy in most states.
C. is pursuant to a contract for a sale of goods.
D. operates only in favor of the concerned parties.