News for hackers. Stuff that matters.
Re:Span<T> in C# by zzbzq on Sunday November 19, 2017 @11:27AM (#15734491)
Not sure what you mean by "delegates can't accept generic type parameters" because you can certainly make a delegate with a <T> in it in C#
Re:Span&lt;T&gt; in C# by naasking on Monday November 20, 2017 @11:58AM (#15741308)
There is no delegate equivalent of passing around an instance of IFoo:

    interface IFoo
    {
        void Bar<T>();
    }
This is known as first-class polymorphism.

Classes with methods are strictly more powerful than delegates, but they shouldn't be. It's even worse than that actually, because you can't even create an open instance delegate to a generic interface or abstract class method (you'll get a runtime error, not even a static error).