C# - What's the difference between these two ways of instancing a class property?
<p>Basic C# question here.</p>

<p>What is the difference between creating an instance of a class property / field either as you declare it or in the constructor of the object in question. For example:</p>

<pre><code>public class MyClass
{
    public MyObject = new MyObject();
}
</code></pre>

<p>vs</p>

<pre><code>public class MyClass
{
    public MyObject;

    public MyCLass()
    {
        MyObject = new MyObject();
    }
}
</code></pre>
