title: Error deserializing yaml with yamldotnet - Property not found
body: <p>I'm using C#, YamlDotNet and following the example:
  <a href="https://stackoverflow.com/questions/63388702/how-to-deserialize-yaml-with-yamldotnet">How to deserialize YAML with YAMLDotNet?</a></p>
  <p>But I'm getting the follow error:</p>
  <pre><code>Exception thrown: 'YamlDotNet.Core.YamlException' in YamlDotNet.dll
  YamlDotNet.Core.YamlException: (Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 1, Idx: 0): Exception during deserialization ---&gt; System.Runtime.Serialization.SerializationException: Property 'PlatForm' not found on type 'NAC21_Calculator.UserSoft'.
     at YamlDotNet.Serialization.TypeInspectors.TypeInspectorSkeleton.GetProperty(Type type, Object container, String name, Boolean ignoreUnmatched)
     at YamlDotNet.Serialization.NodeDeserializers.ObjectNodeDeserializer.YamlDotNet.Serialization.INodeDeserializer.Deserialize(IParser parser, Type expectedType, Func`3 nestedObjectDeserializer, Object&amp; value)
     at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
     --- End of inner exception stack trace ---
     at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
     at YamlDotNet.Serialization.ValueDeserializers.AliasValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
     at YamlDotNet.Serialization.Deserializer.Deserialize(IParser parser, Type type)
     at YamlDotNet.Serialization.Deserializer.Deserialize[T](IParser parser)
     at YamlDotNet.Serialization.Deserializer.Deserialize[T](TextReader input)
     at NAC21_Calculator.YamlImporter.Deserialize(String yamlName) in D:\UserInput.cs:line 124
     at NAC21_Calculator.UserInput.GenerateBut_click(Object sender, EventArgs e) in D:\UserInput.cs:line 68
  The program '[20556] NAC21_Calculator.exe' has exited with code 0 (0x0).
  </code></pre>
  <p>The yaml file content is:</p>
  <pre><code>PlatForm: windows
  Version: 10
      # Software Info
  SOFTWARE:
      Software-01:
          NAME    : MFS2020
          VERSION : 1.12.2015
          Customized  : true
      Software-02:
          NAME    : DCS
          VERSION : 6
          Customized  : false
  </code></pre>
  <p>The object definition:</p>
  <pre><code>public class UserSoft
      {
          public List&lt;string&gt; PlatForm { get; set; }
          public List&lt;string&gt; Version { get; set; }
          public List&lt;software&gt; SOFTWARE { get; set; }
  
          public class software
          {
              public string NAME { get; set; }
              public string VERSION { get; set; }
              public string Customized { get; set; }
  
          }
      }
  </code></pre>
  <p>And performing the deserialization whe pressing a button with:</p>
  <pre><code>private void GenerateBut_click(object sender, EventArgs e)
          {
             UserSoft obj = YamlImporter.Deserialize(&quot;file_template.yml&quot;);
  
             Console.WriteLine(&quot;Platform: {0}&quot;, obj.PlatForm);
             Console.WriteLine(&quot;Version: {0}&quot;, obj.Version);
  
             foreach (var soft in obj.SOFTWARE)
                    Console.WriteLine(&quot;Software: {0}&quot;, soft);
  
              }
              catch (Exception Ex)
              {
                  Console.WriteLine(Ex.ToString());
              }
          }
  
  
   public class YamlImporter
      {
          public static UserSoft Deserialize(string yamlName)
          {
              StreamReader sr = new StreamReader(yamlName);
              string text = sr.ReadToEnd();
              var input = new StringReader(text);
              var deserializer = new DeserializerBuilder().WithNamingConvention(CamelCaseNamingConvention.Instance).Build();
              UserSoft deserializeObject = deserializer.Deserialize&lt;UserSoft&gt;(input); /* compile error */
              return deserializeObject;
          }
      }
  </code></pre>
  <p>I'm new in C# and this issue is the only that is really blocking me.
  Thanks in advance.</p>