internal static int RegisterEntityList(Type EntityType, EntityList el) { SortedList <int, EntityList> ListEL; if (!_List.TryGetValue(EntityType.Name, out ListEL)) { ListEL = new SortedList <int, EntityList>(); _List.Add(EntityType.Name, ListEL); } ListEL.Add(LastKey, el); return(LastKey++); }