title: Using the null-conditional operator on the left-hand side of an assignment
body: <p>I have a few pages, each with a property named <code>Data</code>. On another page I'm setting this data like this:</p>
  
  <pre><code>if (MyPage1 != null)
      MyPage1.Data = this.data;
  if (MyPage2 != null)
      MyPage2.Data = this.data;
  if (MyPage3 != null)
      MyPage3.Data = this.data;
  </code></pre>
  
  <p>Is there any possibility to use the null-conditional operator on <code>MyPage</code>? I'm thinking of something like this:</p>
  
  <pre><code>MyPage?.Data = this.data;
  </code></pre>
  
  <p>But when I write it like this, I get the following error:</p>
  
  <blockquote>
    <p>The left-hand side of an assignment must be a variable, property or indexer.</p>
  </blockquote>
  
  <p>I know it's because <code>MyPage</code> could be null and the left-hand side wouldn't be a variable anymore.</p>
  
  <p>It's not that I cannot use it like I have it already but I just want to know if there's any possibility to use the null-conditional operator on this.</p>