Question
C# using Visual Studio Create a C# console project named MyPlayList. Create an Album class with 4 instance variables to keep track of title, artist,
C# using Visual Studio
Create a C# console project named MyPlayList.
Create an Album class with 4 instance variables to keep track of title, artist, genre, and copies sold. Each instance variable should have a get/set property. Your Album class should have a constructor to initialize the title. In addition, create a public method in the Album class to calculate amount sold for the album (copies sold * cost_of_album). You determine the cost of each album. Also create a method in the Album class to display your information. Should look something like this:
The album Tattoo You by the Rolling Stones, a Rock group, made $25,000,000.
In your main method, create 3 instances of the Album class with different albums, use getters to set values of the artist, genre, and copies sold. And then display information about each on the console.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started