title: How to Read a text file after skipping specified number of lines in C#
body: <p>I have a text file which i do need to read line by line.Now as per my requirement i have to read text file after <strong>65</strong> lines.for this i am trying to use skip() but its not working ..Here is my code ..</p>
  
  <pre><code>string FileToCopy = "D:\\tickets.txt";
  
          if (System.IO.File.Exists(FileToCopy) == true)
          {
              var fs = new FileStream(FileToCopy, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
              using (var reader = new StreamReader(fs))
              {
                  string line;
                  string rawcdr="";
                  while (true)
                  {
                      while ((line = reader.ReadLine()).Skip(65) != null)
                      {
                          if (line != "")
                          {
                              rawcdr = line.ToString();
                          }
                          var strings = rawcdr.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
  
                          if (strings.Length != 0)
                          {
                          }
                      }
                  }
              }
          }
  </code></pre>
  
  <p>On executig above code.Text file is being read from first line whereas i do need to read from <strong>66</strong> line..Where am i going wrong?</p>