Ejemplo n.º 1
0
        public void RemoveWords(params string[] ToRemove)
        {
            int index;

            if (ToRemove.Count() != 0)
            {
                List <int> RemoveIndices = new List <int>();
                foreach (var RemovedWord in ToRemove)
                {
                    index = Words.IndexOf(RemovedWord);
                    Words.RemoveAt(index);
                    RemoveIndices.Add(index);
                }
                AdjustVectorLists(RemoveIndices.ToArray());
                RemoveIndices = null;
            }
        }