title: Encoding.ASCII not available in Silverlight is there a alternative?
body: <p>I have the following line of code for a Windows forms application:</p>
  
  <pre><code>return Encoding.ASCII.GetBytes(chars.ToArray());
  </code></pre>
  
  <p>This line worked fine, but today I was trying my code on the Windows Phone/Silverlight framework and the:</p>
  
  <pre><code>Encoding.ASCII 
  </code></pre>
  
  <p>Library does not exist there. Is there any (simple) way to do the same thing but with a Silverlight library?</p>