コード例 #1
0
        private RhymeGroup NewRhymeGroup()
        {
            var group = new RhymeGroup(RhymeGroups.Count + 1);

            RhymeGroups.Add(group);
            return(group);
        }
コード例 #2
0
 private RhymeGroup FindRhymeGroup(string word)
 {
     return(RhymeGroups.FirstOrDefault(each => each.Words.Contains(word)));
 }