title: access inherited class properties from base class
body: <p>I have base class and two inherited classes, these two inherited classes also share the two properties. I would like to access these properties from base class. How to do that? Example below. </p>
  
  <pre><code>public abstract class ClientEngine
  {
          public void SaveFile(string fileName);
          {
              //Not implemented, I get error here because I don't know how to access Inherited class properties
              if (FileStorage != null))
                  File.WriteAllBytes(fileName, FileStorage);
          }
  }
  
      public interface IEngineEntity
      {
          byte[] FileStorage { get; set; }
      }
  
  public class MyEntity1 : ClientEngine, IEngineEntity
  {
  
  public string MyProperty1 {get; set;}
  public string MyProperty2 {get; set;}
  
  public byte[] FileStorage { get; set; }
  }
  
  public class MyEntity2 : ClientEngine, IEngineEntity
  {
  
  public string MyProperty3 {get; set;}
  public string MyProperty4 {get; set;}
  
  public byte[] FileStorage { get; set; }
  }
  </code></pre>