Answer the question
In order to leave comments, you need to log in
Is there a java wildcards equivalent in csharp?
Java has such a thing as wildcards, which is an extension of generic types.
Example using <?>
public abstract class AAA<T extends BBB<?>> extends CCC<T>{}
public abstract class AAA<T> : CCC<T> where T : BBB<как?>{}
Answer the question
In order to leave comments, you need to log in
Well, there are no wildcards in Sharpe. You can just explicitly specify the type in the generic.
public abstract class AAA<T,T1> : CCC<T> where T : BBB<T1>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question