[Extension()] public static T FirstOrAnyOrDefault<T>( IEnumerable<T> seq, Func<T,bool> predicate )
Parameters
- seq
- A sequence of elements.
- predicate
- A predicate on elements
Type Parameters
- T
- The element type.
[Extension()] public static T FirstOrAnyOrDefault<T>( IEnumerable<T> seq, Func<T,bool> predicate )
Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed