예제 #1
0
 public int Count()
 {
     if (_word == "")
     {
         return(-1);
     }
     return(RepeatCounter.Count(_word, _wordList, true));
 }
예제 #2
0
 public int Count(bool caseSensitive)
 {
     return(RepeatCounter.Count(_word, _wordList, caseSensitive));
 }