Exemple #1
0
 public static T ElementAtOrDefault <T>(this IEnumerable <T> source, Ordinal ordinal)
 {
     return(source.ElementAtOrDefault(ordinal.ToInt32() - 1));
 }
Exemple #2
0
 public static IEnumerable <T> SkipTo <T>(this IEnumerable <T> source, Ordinal ordinal)
 {
     return(source.Skip(ordinal.ToInt32() - 1));
 }