c# - Use static function from a class without naming the class -
how can access functions class without having name class every time? know how utilize "using" don't have name namespace hoping there way static functions can phone call them way phone call function in same class.
i routinely have
static action<object> o = s => console.writeline(s); in code makes debug output much less noisy. way can phone call console's static writeline() much easier. help?
c# function class namespaces
No comments:
Post a Comment