title: How to set property of explicitly implemented interface?
body: <p>I've this code snippet:</p>
  
  <pre><code>public interface Imy
  {
      int X { get; set; }
  }
  
  public class MyImpl : Imy
  {
      private int _x;
      int Imy.X
      {
          get =&gt; _x;
          set =&gt; _x = value;
      }
  }
  
  class Program
  {
      static void Main(string[] args)
      {
          var o = new MyImpl();
          o.Imy.X = 3;//error
          o.X = 3;//error
      }
  }
  </code></pre>
  
  <p>I just wish to assign value to X, but get 2 compilation errors. How to fix it?</p>