We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 772ec37 commit cebcdf8Copy full SHA for cebcdf8
docs/csharp/whats-new/csharp-14.md
@@ -39,7 +39,7 @@ public static class Enumerable
39
// Extension property:
40
public bool IsEmpty => source.Any() == false;
41
// Extension indexer:
42
- public int this[int index] => source.Skip(index).First();
+ public TSource this[int index] => source.Skip(index).First();
43
44
// Extension method:
45
public IEnumerable<TSource> Where(Func<TSource, bool> predicate) { ... }
0 commit comments