4 ms·
What seems really interesting to me here is the ability to extend an existing class by implementing an interface (instead of a set of extension methods), and th
by jpatte 15y ago
What seems really interesting to me here is the ability to extend an existing class by implementing an interface (instead of a set of extension methods), and therefore becoming able to cast any instance of this type as an instance of this interface. I'd love to have that in C#, as it would simplify (if not eliminate) the creation of wrappers around types you don't own.