private int Next() { if (MediaFiles.Count() > (CurrentSongIndex + 1)) { CurrentSongIndex++; } else { CurrentSongIndex = 0; } return(CurrentSongIndex); }
private int Next() { if (MediaFiles.Count() > (CurrentSongIndex + 1)) { CurrentSongIndex++; } else { CurrentSongIndex = 0; } return(CurrentSongIndex); }