Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
C# 14 (devblogs.microsoft.com/dotnet)
24 points by ibobev 31 days ago | hide | past | favorite | 1 comment


Interesting, are extension methods a backdoor way to typeclasses in C#? If so that'd be fascinating to see.

If the extension method implements and interface, and any existing type can be extended via that interface it seems like you get that functionality right? Or am I missing something?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: