How to call extension method which has the same name as an existing method? [duplicate]

You can’t call the extension method as a normal extension method. The instance method overrides the extension method with the same signature

EDIT:

You can call it as a static method

ExtensionTest.MethodA(a);

Leave a Comment