title: Create dynamic string array in C# and add strings (outcome of a split method) into two separate arrays through a loop
body: <p>I have a list of strings which includes strings in format: xx@yy</p>
  
  <pre><code>xx = feature name
  
  yy = project name
  </code></pre>
  
  <p>Basically, I want to split these strings at @ and store the xx part in one string array and the yy part in another to do further operations.</p>
  
  <pre><code>string[] featureNames = all xx here
  
  string[] projectNames = all yy here
  </code></pre>
  
  <p>I am able to split the strings using the split method (string.split('@')) in a foreach or for loop in C# but I can't store two parts separately in two different string arrays (not necessarily array but a list would also work as that can be converted to array later on).</p>
  
  <p>The main problem is to determine two parts of a string after split and then appends them to string array separately.</p>