title: C# Split() function is not working
body: <p>Hello I am new to c# in fact fairly new to programming, I am having issues with the split function. I am trying to split a single string from a textbox to multiple strings.</p>
  
  <p>I am getting the following error:</p>
  
  <blockquote>
    <p>CS1061    'string[]' does not contain a definition for 'Split' and no
    extension method 'Split' accepting a first argument of type 'string[]'
    could be found (are you missing a using directive or an assembly
    reference?)</p>
  </blockquote>
  
  <p>I have done the following:
  * checked to see that system.core dll is added as a reference
  *checked using system.Linq is on the program
  *checked target framework which is 4.0</p>
  
  <p>I am having no luck solving this issue.</p>
  
  <p>Code with error:</p>
  
  <pre><code>string[] sampNumStrings = new string[] { textBoxBarcode.Text };
  string[] newSampNumStrings = sampNumStrings.Split(new string[] { "\r\n", "\r", "\n" }, StringSplitOptions.None);
  </code></pre>