title: How to play WAV file from Properties.Resources using C#
body: <p>How can I play a wav file from <code>Properties.Resources</code>?</p>
  
  <p>I try some code, but every time my <code>Priperties.Resource.myFile</code> put me <code>byte[]</code> but my code need <code>string</code> path, not <code>byte[]</code> array.</p>
  
  <pre><code>    System.Media.SoundPlayer player = new System.Media.SoundPlayer();
  
      player.SoundLocation = @"myFile.wav";
      player.Play();
  </code></pre>
  
  <p>I don't want to use some temp file. It is possible play direct from Resource?</p>
  
  <p>Thanks for your advice!</p>