I'm trying to do so that I can read all the lines that are present after the "check", I tried with StreamReader or clicli while and for, without being able to move to the next line, the same line is always read.

below is an example .txt file extracted, in the file there are many registry keys.

TXTFile

```
Windows Registry Editor Version 5.00

//BEFORE MORE key

[HKEY_CURRENT_USER\SOFTWARE\Thingamahoochie\WinMerge\Settings-Bar1]
"BarID"=dword:00008033
"Visible"=dword:00000000
"XPos"=dword:fffffffe
"YPos"=dword:fffffffe
"Docking"=dword:00000001
"MRUDockID"=dword:00000000
"MRUDockLeftPos"=dword:00000000
"MRUDockTopPos"=dword:00000000
"MRUDockRightPos"=dword:0000070c
"MRUDockBottomPos"=dword:000000f5
"MRUFloatStyle"=dword:00002004
"MRUFloatXPos"=dword:80000000
"MRUFloatYPos"=dword:00000000

//MORE KEY AFTER

```

code

```
private void btnReplace_Click(object sender, EventArgs e)
{
     string check = "[HKEY_CURRENT_USER\SOFTWARE\Thingamahoochie\WinMerge\Settings-Bar1]";

     foreach (string line in File.ReadLines(_path))
     {
         if(line == check)
         {
            //need here read all line after "check"

         }
    }
}

```