WindowsMediaPlayer[] player = new WindowsMediaPlayer[31];
for(int i = 1; i < 30 ; i++ )
{
player[i] = new WindowsMediaPlayer();
player[i].URL = @"C://Songs//m" + i + ".mp3";
player[i].controls.play();
}
here I am using array to store the url and to play. but all the songs are starting at one time instead of one after another.How to solve this problem?