I have 3 classes A, B and C.

```
class A
{
    protected string name="demo";
}

class B: A
{}

class C: A
{}

```

I want to set the value of name as "demo1" in parent class A only for the child class C and not for B.

How can I achieve this?