title: Finding highest number in text file
body: <p>I have a text file that contains 50 student names and scores for each student in the format.</p>
  
  <pre><code>               foreName.Surname:Mark
  </code></pre>
  
  <p>I have figured out how to split up each line into a forename, surname and mark using this code.</p>
  
  <pre><code>            string[] Lines = File.ReadAllLines(@"StudentExamMarks.txt");
  
  
          int i = 0;
          var items = from line in Lines
                      where i++ != 0
                      let words = line.Split(' ', '.', ':')
                      select new
                      {
                          foreName = words[0],
                          Surname = words[1],
                          Mark = words[2]
  
                      };
  </code></pre>
  
  <p>I am unsure of how i would incorporate a findMax algorithm into to find the highest mark and display the pupil with the highest mark. this as i have not used text files that often.</p>