I dont think extension methods are a good comparison for Default Interface Members (C# 8.0). For example, extension methods are great when you cant modify the class/interface (like IEnumerable) so you wouldn’t normally be deciding between modifying the interface and writing an extension method.
100%, Op has got the wrong end of the stick a bit here. Otherwise a good read
Nice!
I’m relatively new to C# but I took some courses that are possibly a bit dated so this was an eye opener for me as well!
I work with C# currently and this was a handy read, thank you.
Wow didn’t know about the underscores in number literals
C# devs
null reference exceptions