Creating the AddShow Method
Now, we can define the AddShow method.

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.