Check out example codes for "how to make error sound c#". It will help you in understanding the concepts better.

Code Example 1

System.Media.SystemSounds.Exclamation.Play();

Learn ReactJs, React Native from akashmittal.com