Advertisement
Guest User

sadsad

a guest
Dec 12th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.63 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Collections;
  7. using static System.Console;
  8.  
  9. namespace Zadanie03
  10. {
  11.     class Player
  12.     {
  13.         Song song = new Song();
  14.         List<Song> list = new List<Song>();
  15.  
  16.         public void Add(Song song)
  17.         {
  18.             list.Add(song);
  19.         }
  20.  
  21.         public void Remove(int songNumber)
  22.         {
  23.  
  24.         }
  25.  
  26.         public void Play(int songNumber)
  27.         {
  28.             WriteLine(list[0].Play);
  29.         }
  30.  
  31.         public void Playlist()
  32.         {
  33.  
  34.         }
  35.  
  36.  
  37.     }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement