title: Why I couldn't change the value of pictureBox1.Location.X directly?
body: <p>I want to change the value of pictureBox1.Location. And the result really confuses me!</p>
  
  <pre><code>Point player;    
  player = pictureBox1.Location;    
  player.X += 10; //it works    
  pictureBox1.Location.X += 10;//it doesn't work!! Why??    
  </code></pre>
  
  <p>so I try this one :</p>
  
  <pre><code>pictureBox1.Location = player // it works      
  </code></pre>
  
  <p>Could anyone tell me why? I only learnt c# for 1 week with <em>head first c#</em>, and I cannot find the answer through the Internet or the book.</p>
  
  <p>Sorry, I didn't make my question clarified. I cannot build</p>
  
  <pre><code>pictureBox1.Location.X += 10    .
  </code></pre>
  
  <p>There is an error: </p>
  
  <blockquote>
    <p>Cannot modify the return value of
    'System.Windows.Forms.Control.Location' because it is not a variable</p>
  </blockquote>
  
  <p>I want to know the difference between player.X and pictureBox1.Location.X   </p>