c# - How to hide static method -
let's have classes, that:
class { public static int count() } class b : { } class c : { }
how can hide static method class b not c?
you can't, basically. heck, if it's public anyone can call it.
you make protected allow called within b or c not elsewhere... still couldn't differentiate between b , c.
Comments
Post a Comment