public void DeleteWordsOfGivenLength(int wordLenght) { for (int i = 0; i < _sententenceElements.Count; i++) { if (_sententenceElements.ElementAt(i).SentenceItemType != SentenceItemType.Word || _word.GetWordLength(_sententenceElements.ElementAt(i)) != wordLenght || !_word.FirstLetterIsConsonant(_sententenceElements.ElementAt(i))) { continue; } _sententenceElements.Remove(_sententenceElements.ElementAt(i)); i--; } }