title: How to read a .txt file in a structured way?
body: <p>Summary of my goal:</p>
  
  <p>I am creating a simple game to improve my knowledge of C#. It is a guessing game in which the program will write a sentence to the console with a word missing. The user has to type in the missing word correctly then the next sentence will load. I have stored these sentences in a .txt file structured so they can load in groups randomly. The file is structured so the missing word and the sentence it is contained in a line within a group split by a '[]'.<br/> </p>
  
  <p>I just want to know what I should use to tell the program to load the lines within a group split with '[]' so it can keep organised within an array. Im assuming this is going to be using the File IO class but please could someone tell me if im wrong, give me an example or just tell me what I should be looking into. I have been looking into and experimenting File IO classes extensivley but I can't seem to find any examples online or in my books that show what I need.<br/></p>
  
  <p>Example of .txt:</p>
  
  <pre><code>cat - the cat purred
  dog - the dog barked
  []
  cake - I baked a cake
  ate - the cake I ate was delicous
  []
  </code></pre>
  
  <p><strong>Any advice is appreciated.</strong></p>