Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Review Chapter 4. In particular, walk through The Account example on pages 129 and 130.Create a class called Contract that contains 6 pieces of information as instance variables: contract signee (da

Review Chapter 4. In particular, walk through The Account example on pages 129 and  130.

Create a class called Contract that contains 6 pieces of information as instance variables:  contract signee (datatype string),  signee street address (datatype string), signee city (datatype string), signee state (datatype string), date of agreement ( string), type of contract. Contracts can be sale or service.

Your Contract class should contain a constructor that initializes the instance variables. The Contract class should also contain a C# property for each instance variable that provide get and set as per C# standards.

Create a second class ContractTest  that creates two Contract objects using the constructor that you developed in the Contract class.  For each object, display :  signer, street address, city, state, date of agreement, type of contract.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question