Check out example codes for "c# play sound". It will help you in understanding the concepts better.

Code Example 1

System.Media.SoundPlayer player = new System.Media.SoundPlayer(@"c:\mywavfile.wav");
player.Play();

Learn ReactJs, React Native from akashmittal.com