title: How to convert string to string array[] in c#
body: <p>i have a string variable which receives data from web the data is in the from of string like this </p>
  
  <pre><code>string output="[1,2,3,4,5,6,7,8,9,0]";
  </code></pre>
  
  <p>i want to convert it into a string array [] so that i can specify each element via for each loop</p>
  
  <pre><code>string output;
  into
  string[] out;
  </code></pre>
  
  <p>PS: if any predefined method is there that will also help</p>