title: string.Split function in c# tab delimiter
body: <p>I have a function which reads a delimited file. </p>
  
  <p>The delimiter is passed to the function by string argument. The problem is, when I pass the <code>"\t"</code> delimiter, it ends up like <code>"\\t"</code> and therefore, Split is unable to find this sequence. </p>
  
  <p>How can I resolve this issue?</p>
  
  <pre><code>private void ReadFromFile(string filename, string delimiter)
  {
  
          StreamReader sr = new StreamReader(filename, Encoding.Default);
          string[] firstLine = sr.ReadLine().Split(t.ToCharArray());
  
          .......
   }
  </code></pre>