The extension method is part of the static class and is syntactic sugar, because it imitates that some static method is an instance method of another class.
In conclusion, there is no penalty for performance. These are the same ExtensionMethods.YourExtensionMethod(objectToAddMethod) and objectToAddMethod.YourExtensionMethod() .
MatΓas Fidemraizer
source share