title: Differences between getter and setter and a regular variable[C#]
body: <p>I've learned about the getter and setter topic and i couldn't understand the new type of this topic :</p>
  
  <p>Let's say someone is declaring a new get&amp;set method :</p>
  
  <pre><code>public int Id { get; set; };
  </code></pre>
  
  <p>What i want to know is what is the differences between doing what i wrote below and a regular public variable (public int id).</p>
  
  <p>Comments are welcome.</p>