C#: How do you specifiy where to start reading in a file when using StreamReader?
I have created a streamreader object, along with a file stream object. After both objects are created, how would I go upon controlling where I want the StreamReader to start reading from a file?
Let's say the file's contents are as follows,
// song list. // junk info. 1. Song Name 2. Song Name 3. Song Name 4. Song Name 5. Song Name 6. Song Name
How would I control the streamreader to read from let's say #2? Also, how could I also control where to make it stop reading by a similar delimiter like at #5?
Edit: By delimiter I mean, a way to make StreamReader start reading from ('2.')