Let\'s say I have a classes, like that:
class A { public static int Count() } class B : A { } class C : A { }
How can I hide this static
You can't, basically. Heck, if it's public then anyone can call it.
You could make it protected which would allow it to be called from within B or C but not elsewhere... but you still couldn't differentiate between B and C.