title: How to convert CSV file to Array?
body: <p>For example, I have csv file and then imported to PowerShell:</p>
  
  <pre><code>$animal = Import-Csv “animal.csv”
  $animal
  </code></pre>
  
  <p>Output is:</p>
  
  <pre>Animal
  ------
  Bird
  cat
  dog</pre>
  
  <p>I would like to convert to array value, i.e. I would like to put these "bird","cat","dog" in array, basically like this:</p>
  
  <pre><code>$newanimals = "Bird","Cat","Dog"
  </code></pre>
  
  <p>How can I do that?</p>