title: Why keep two variables for one content in C# UWP?
body: <p>In C#, I notice that many coders do something like the following:</p>
  
  <pre><code>class X
  {
      private int test_;
  
      public int test
      {
          get { return test_; }
          set { if (test_ != value) test_ = value; }
      }
  }
  </code></pre>
  
  <p>My question is why keep a private, and a public variable for the same content?</p>
  
  <p>Why did we not do this instead?</p>
  
  <pre><code>class X
  {
      public int test
      {
          get; set;
      }
  }
  </code></pre>
  
  <p>I mean, we are changing the private variable within anyway. What is the point of not using a single public variable instead?</p>