SortedList<int, string> months = new SortedList<int, string>();
SortedList<int, SortedList> all = new SortedList<int, SortedList>();
上記のコード スニペットのように、「月」タイプの別のソート済みリストを含む SortedList を作成したいと考えています。
months.Add(1, "January");
all.Add(2012,months);
エラーが発生します
「System.Collections.Generic.SortedList」から「System.Collections.SortedList」に変換できません
私は混乱しています...