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