Hacker News new | ask | show | jobs
by Rusky 2715 days ago
Fair enough, typeclasses/traits were what I had in mind here. You're right that C# doesn't have a common interface to constrain your generics with for operator+/etc.