C
C#3y 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
Kouhai3y ago
Generic math - .NET
Learn more about interfaces for generic math in .NET.
leknes
leknesOP3y ago
Thanks, that is what I was looking for!

Did you find this page helpful?