Check out example codes for "soundplayer c# take uri". It will help you in understanding the concepts better.
Code Example 1
SoundPlayer foo = new SoundPlayer(@"pack://application:,,,/SoundExample;component/Sounds/MySound.wav");
foo.Play();
Learn ReactJs, React Native from akashmittal.com