Consider the following code and suppose it is the only code contained in a class library.
Extension methods allow users of class libraries to refrain from ever declaring an argument, variable, or anything else with a type that comes from that library.