Obtaining data from log file in c# program
<p>I am trying to work out how to create a c# program that can view the data in a log file that is always updating with new data. The data within the log file looks like the below:</p>

<blockquote>
  <p>CPU2: memory5 ( 50070 )CPU3: drive7 ( 500 )CPU6: memory10( 1000)CPU2:
  memory5 ( 50700 )CPU2: memory5 ( 60070 )CPU3: drive7 ( 500 )CPU6:
  memory10( 1000)CPU2: memory5 ( 70000 )CPU3: drive7 ( 500 )CPU6:
  memory10( 1000).</p>
</blockquote>

<p>Once the data is read from the log file, I would like the ability to list the latest data from the log file, example for <code>memory5</code>, including the data before it, <code>[CPU2:]</code> and the data after it, <code>[70000]</code> so that the program would constantly be monitoring the log file and reporting the latest data from the above for <code>memory5</code>, it would show <code>CPU2: memory5 (70000)</code></p>

<p>Many Thanks</p>
