title: Trying to convert YAML file to hashtable using yamldotnet
body: <p>Right now I am trying to convert a YAML file into a hash table, utilizing the Deserializer that is provided in the YamlDotNet library. Getting the error <code>Excpected 'SequenceStart' got 'MappingStart'</code>.</p>
  
  <pre><code>var d = Deserializer();
  
  var result = d.Deserialize&lt;List&lt;Hashtable&gt;&gt;(new StreamReader(*yaml path*));
  foreach (var item in result)
  {
      foreach (DictionaryEntry entry in item)
      {
          //print out using entry.Key and entry.Value and record
      }
  }
  </code></pre>
  
  <p>The YAML file structure looks like</p>
  
  <pre><code>Title:
  
      Section1:
             Key1:    Value1
             Key2:    Value2
             Key3:    Value3
  </code></pre>
  
  <p>Sometimes containing more than one section.</p>
  
  <p>I have tried a solution similar to this <a href="https://stackoverflow.com/questions/25095893/seeking-guidance-reading-yaml-files-with-c-sharp">Seeking guidance reading .yaml files with C#</a> as well, however the same error occurs. How do I properly read in a YAML file, and convert it into a hash using YamlDotNet?</p>