bitbonk · @bitbonk
267 followers · 344 posts · Server mastodon.social

When should I favor extension methods over 8 default interface implementation?

When I have an extension method in the same assembly and namespace as the interface it extends, is there any reason to *NOT* use a default interface implementation on the interface instead?


@bot

#charp #dotnet #apidesign #frameworkdesign #frameworkdesignguildlines

Last updated 3 years ago