Я знаю, что могу вызвать linq За исключением и указать пользовательский IEqualityComparer, но для этого новый класс Comparer для каждого типа данных кажется излишним для этой цели. Могу ли я использовать лямбда-выражение для обеспечения функции равенства, например, когда я использую функции Где-то или ЛВС?
Если я не могу, есть ли альтернатива?