public Team() { TeamColorsKind = new Dictionary <int, TeamColors>(); var game = new HockeyIce(HockeyIce.GameTypeEnum.Euro, HockeyIce.KIND_1); for (var i = 0; i < 6; i++) { var t = game.DefaultTactics.Clone(); t.Name = "5ka-" + i.ToString(); t.NameActionType = i; if (i > 2) { var p = t.GetPlace(game, 21); t.Places.Remove(p); } Tactics.Add(i, t); } }