I\'m trying to come up with an implementation for NotOfType, which has a readable call syntax. NotOfType should be the complement to OfType&l
NotOfType
OfType&l
I've just tried this and it works...
public static IEnumerable NotOfType(this IEnumerable sequence) => sequence.Where(x => !(x is TExclude));
Am I missing something?