Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int ConvertMusicType(int index)
- {
- switch (index)
- {
- case 0: return 800;
- case 1: return 1100;
- case 2: return 1600;
- case 3: return 1900;
- default: return 0;
- }
- }
- public double ConvertArtist(int index)
- {
- switch (index)
- {
- case 0: return 1.2;
- case 1: return 1.3;
- default: return 0;
- }
- }
- public double ConvertSpecialArtist(bool index)
- {
- switch (index)
- {
- case true: return 1.7;
- case false: return 1;
- default: return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement