Beispiel #1
0
 private static List <Word> Parse(string sentence)
 {
     return(sentence.Split(' ')
            .Select((word, index) => index == 1 ? Verb.Create(word) : new Word(word))
            .ToList());
 }