C# | public variables in parent class should not show up in child class

As the title says I have a parent class “Main” and I have several public variables.
Now I would like to know if there is any way that these variables dont also show up as public variables in the inspector in the child classes.
It would be so much more clear.

Thank you very much in advance!

Either decorate them as HideInInspector or change the member access modifier to protected.