generic NOT constraint where T : !IEnumerable February 22, 2023 by Tarik No – there’s no such concept either in C# or in the CLR.