Open
Description
Please add these to System.Linq.Enumerable
public static T? FirstOrNull<T>(this IEnumerable<T> items) where T : struct {}
public static T? LastOrNull<T>(this IEnumerable<T> items) where T : struct {}
public static T? ElementAtOrNull<T>(this IEnumerable<T> items,int index) where T : struct {}
// and so on