Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: