Instantiating the base class member by creating the object in the derived class Method : <p>when i am trying to instantiate the base class member by creating an object in the derived class method it should be accessed by c.Id instead getting an error</p>

<pre><code>public class RetailCust : Customer
{
    public void Print()
    {
        Customer c = new Customer();
        c.id=102 //getting an error
    }
}

public class Customer
{
    protected int id = 100;
}
</code></pre>
