Creating the AddShow Method
Now, we can define the AddShow method.
![generated description: addingclassmethod1 20111](images/tweb_addingclassmethod1_20111.png)
First, we invoke the New Method Wizard by clicking Class—>Add—>Method on the menu bar. Then we give the method a name and a single argument
, which identifies the show for which tickets are being purchased. Note that we do not specify a return type for AddShow as the method does not return any values.