title: Collection field is null when instantiating instance of the class
body: <p>I have a created an object that will hold errors encountered as well as a boolean field to indicate if any errors were present at all. The class looks like this.</p>
  
  <pre><code>public class ValidationResult
  {
      public bool IsValid{ get; set; }
      public List&lt;string&gt; Errors { get; set; }
  }
  </code></pre>
  
  <p>I go to use an instance of this class in a validation method as such</p>
  
  <pre><code>public class ValidationService
  {
      // This instance will hold the errors if there are any
      ValidationResult myValidationResult = new ValidationResult();
  
      public void ValidationMethod()
      {
         // Validation takes place here
         ...
         // Some errors occurred to lets add then to the instance of the ValidationResult object
         myValidationResult.IsValid = false;
         myValidationResult.Errors.Add("An error occurred here are the details");
      }
  }
  </code></pre>
  
  <p>The problem is that the Errors collection in the instance <code>myValidationResult</code> is null? Why is this? I created an instance of the class and the boolean property <code>IsValid</code> is available, yet the <code>Errors</code> collection is <code>null</code>.</p>