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
The only solution would be to change your class hierarchy. It's not worth the hassle and WTF moments you will get in code reviews it if you ask me.
class ABase { } class A { public static int Count() } class B : ABase { } class C : ABase { }