次のステートメントはエラーを返します。
public class MySortedList<TKey, TItem> where TKey : struct, TItem : MyBaseClass<TKey>
MyBaseClass は次のように定義されます。
public class MyBaseClass<T> where T : struct
エラーは TItem の後の 2 番目の ":" にあります - "{ expected"
これの正しい構文は何ですか?
ありがとうございました。