Код: Выделить всё
public float foo(T a) where T : IEnumerable { //... }
Есть ли эквивалент в .NET6?
Я пытался добавить true в свой файл .csproj, но это не сработало.
Подробнее здесь: https://stackoverflow.com/questions/792 ... o-arithmet
Код: Выделить всё
public float foo(T a) where T : IEnumerable { //... }