generic NOT constraint where T : !IEnumerable

No – there’s no such concept either in C# or in the CLR.

Leave a Comment