-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Area-Language DesignDiscussionFeature RequestLanguage-C#Resolution-DuplicateThe described behavior is tracked in another issueThe described behavior is tracked in another issue
Description
The delegation pattern is a very common alternative to inheritance for sharing a common implementation of an interface. However in C# utilizing delegation is very heavy weight requiring lots of boiler point code which could easily be generated by the compiler. The Kotlin language includes such a feature which greatly reduces the effort and cost of utilizing the pattern. It would be great if C# 7 included such a feature as well.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-Language DesignDiscussionFeature RequestLanguage-C#Resolution-DuplicateThe described behavior is tracked in another issueThe described behavior is tracked in another issue