Baseball and Shirt Solution Exercises

Baseball Players – 9 Baseball Players

Create an application named BaseballPlayer that instantiates and displays a BaseballPlayer object. The BaseballPlayer class contains properties that hold a player’s name (a string), jersey number (an integer), runs scored (an integer), and position (a string).

T-Shirt Demo – min of 5 different shirts

Create an application named ShirtDemo that declares several Shirt objects and includes a display method to which you can pass different numbers of Shirt objects in successive method calls. The Shirt class contains auto-implemented properties for a material, color, and size.