C
C#2y ago
leknes

Opperators with generics.

Is there any way to have generics which can use certain opperators. For instance I want to have a generic type which can use +, -, * and /.
2 Replies
Kouhai
Kouhai2y ago
Generic math - .NET
Learn more about interfaces for generic math in .NET.
leknes
leknesOP2y ago
Thanks, that is what I was looking for!
Want results from more Discord servers?
Add your server