From aaf562b5b2cbd4d8b5a4ef415881f463782a4bbb Mon Sep 17 00:00:00 2001 From: Julien Couvreur Date: Tue, 16 Sep 2025 20:37:35 -0700 Subject: [PATCH] Remove extension indexer from "What's New for C# 14" --- docs/csharp/whats-new/csharp-14.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/csharp/whats-new/csharp-14.md b/docs/csharp/whats-new/csharp-14.md index 09e4ab942ceb9..2b1393a5c74f7 100644 --- a/docs/csharp/whats-new/csharp-14.md +++ b/docs/csharp/whats-new/csharp-14.md @@ -40,8 +40,6 @@ public static class Enumerable { // Extension property: public bool IsEmpty => !source.Any(); - // Extension indexer: - public TSource this[int index] => source.Skip(index).First(); // Extension method: public IEnumerable Where(Func predicate) { ... }