Regarding static behaviour
<p>from static function we can create a instance but we can not access any non-static data member....why.</p>

<pre><code>public static DropoffType DROP_BOX
        {
            get
            {
                DropoffType tempType = new DropoffType();
                tempType.DropoffTypeSelected = _DROP_BOX;
                y=11; // compile time error
                return tempType;
            }
        }
</code></pre>

<p>from the above code we can see that instance can be created from property but when we are trying to access any non-static data member then i am getting complile time error. can any one explain the reason in detail that why instance can be created from any where but non-static data member can't be access from static function.</p>
