title: Powershell: What is the difference between char[] and String?
body: <p>i found that the result $request.ContentType is difference by using char[] and String.</p>
  
  <blockquote>
    <p>$request = [System.Net.HttpWebRequest].create($URL)</p>
  
  <pre><code>$request.ContentType = [char[]] "application/x-www-url-formurlened"
  $request.ContentType = "application/x-www-url-formurlened"
  </code></pre>
  </blockquote>
  
  <p>What is the different in the actual output to the server side, if I made a request like that using char[] and string?</p>
  
  <p>it is so confusing...i guess it should be the same</p>
  
  <p>thanks</p>