Is there a way to hide a variable in a child class?
Example (and better description of the problem)
lets asume there is a parent class liek this:
public int hideMe;
and a child class like this:
class myChildClass : myParentClass
//what to do here!!
and another class like this:
myChildClass child = new myChildClass();
child.hideMe = 3;//I should see the variable here
what code must be inserted into myChildClass to be unable to see the hideMe variable in anotherClass?
thanks in advance,