â can I add extensions for static classes
Hello, can static classes be extended?
Using the new syntax I can write static extensions for normal types like that:
But I cannot target static types for such additions, e.g.:
That errors with
Even though I don't think its a fundamentally different extension.
Using the new syntax I can write static extensions for normal types like that:
But I cannot target static types for such additions, e.g.:
That errors with
'Console': static types cannot be used as parametersEven though I don't think its a fundamentally different extension.