If I have these two classes

```
class Car
{
    public int maxSpeed;
}

class Minivan : Car
{
    maxSpeed = 100; //error

    public void Test() 
    {
        maxSpeed = 100;//ok!
    } 
}

```

Why it's only permitted to use the public member of the base class within a method not the class body?