title: Assign value directly to class variable
body: <p>I don't know if this is that easy nobody is looking for that, but I didn't found anything... </p>
  
  <p>I want to do the following:</p>
  
  <pre><code>public class foo
  {
      string X 
      {
          get; 
          set
          { 
              //set and do some other stuff 
          }
      }
  
      //some other functions
  }
  </code></pre>
  
  <p>Main:</p>
  
  <pre><code>private foo = new foo();
  
  foo = "bla";
  </code></pre>
  
  <p>How can I assign this <code>bla</code> DIRECTLY to the class-variable <code>foo</code> without using <code>foo.X = "bla"</code>?</p>
  
  <p>How are the datatypes doing this, e.g string? 
  How are they made?
  Because I can do <code>string y; y = "abc"</code> ?</p>