C# 14 Extension Members - Implement Interface #9288
-
Hi, can the new C# 14 feature, Extension Members, be used to implement interfaces? https://github.com/dotnet/csharplang/blob/main/proposals/extensions.md If not, is any new feature planned to allow a more stand-alone approach to associating interface-implementation functions to data types/structs? C# extension methods are excellent, however, I propose that this approach become normalized (functional programming, pattern matching). (In general, I propose the idea of evolving away from the hidden this pointer altogether, but I do understand, one step at a time.) Thank You |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
No.
We are looking into such a thing under the name "roles" |
Beta Was this translation helpful? Give feedback.
No.
We are looking into such a thing under the name "roles"