no comments (yet)

sorted by: hot top controversial new old
there doesn't seem to be anything here
1 comment in c/programming@programming.dev view that post
[–] 6 points 1 year ago

New extension blocks add support for static extension methods, and static and instance extension properties.

Big C#14 addition I've been wanting since they added extension methods. I think this finally lets us create stateful mixins, and solve some niche use-cases where multiple-inheritance would really be preferable over composition.

  • source