Dictionary<string, List<Piese>> SetPiese = new Dictionary<string, List<Piese>>();
char[] litere = "ABCDEFGHIJLMNOPRSTUVXZ".ToCharArray();
for (int i = 1; i <= litere.Length; i++) {
SetPiese.Add(litere[i], Set + litere[i]);
}
List<Piese> SetA = GenerareSetLitere("A", 1, 11);
List<Piese> SetB = GenerareSetLitere("B", 9, 2);
List<Piese> SetC = GenerareSetLitere("C", 1, 5);
................................................
所以我有很多列表,我想将它们添加到字典中。我怎样才能做到这一点?