Why can’t I call an extension method as a static method when using static import?

Because of language design:

Using static makes extension methods declared in the specified type
available for extension method lookup. However, the names of the
extension methods are not imported into scope for unqualified
reference in code.

using Directive

Leave a Comment