Answer the question
In order to leave comments, you need to log in
Why is comparison not possible?
Type T is created like this:class Program<T>
Answer the question
In order to leave comments, you need to log in
Because under T there can be non-comparable values.
Specify what will be under T, for example:
class MyClass<T> where T :class
{
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question