title: Is read-only auto-implemented property possible?
body: <p>I found a topic on <a href="http://msdn.microsoft.com/en-us/library/bb383979.aspx" rel="noreferrer">MSDN</a> that talks that yes, this is possible.</p>
  
  <p>I did a test that seems to break this statement:</p>
  
  <pre><code>using System;
  
  namespace Test
  {
      class Program
      {
          static void Main(string[] args)
          {
              Foo f = new Foo("1");
              Console.WriteLine(f.Bar); // prints 1
              f.Test("2");
              Console.WriteLine(f.Bar);// successfully prints 2
          }
      }
  
      class Foo
      {
          public Foo(string b)
          {
              this.Bar = b;
          }
  
          public string Bar { get; private set; }
  
          public void Test(string b)
          {
              // this would be impossible for readonly field!
              // next error would be occur: CS0191 or CS0191
              // A readonly field cannot be assigned to (except in a constructor or a variable initializer)
              this.Bar = b; 
          }
      }
  }
  </code></pre>
  
  <p>Where am I wrong?</p>