I have a generic class MyClass<T>
where T
should only be those types which can be compared.
This would mean only numeric types and classes where methods for the relational operators have been defined. How do I do this ?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With