-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Extension indexers
- Specification:
- Discussion: Extension indexers #9855
Summary
We add the ability to declare extension indexers.
static class E
{
extension(...)
{
int this[int i]
{
get { ... }
set { ... }
}
}
}There are also some other extension improvements we should consider (see cut list from C# 14)
LDM Meetings
- The topic was discussed previously as part of the extension feature in C# 14: [Proposal]: extension methods, properties and operators (VS 18.0, .NET 10) #8697