title: Struct - access to private fields
body: <p>Why does it not generate an error?<br>
  If i try change <strong>private field</strong> of this struct in main program file - it generates an error, but not in struct implementation.</p>
  
  <pre><code>public struct MyStruct
  {
      private int privateField;
  
      public int MyField
      {
          get { return privateField; }
          set { if (value &gt;= 0) privateField = value; else value = 0 }
      }
  
      public void SomeMethod (MyStyruct s)
      {
          s.privateField = 10; // no error here.  
      }
  }
  </code></pre>