Пример #1
0
 public bool Suggestion(string key)
 {
     key = key.Replace(" ", "").ToLower();
     return(NameEn.Replace(" ", "").ToLower().StartsWith(key) || NameKr.Replace(" ", "").ToLower().StartsWith(key));
 }
Пример #2
0
 public bool Contain(string key)
 {
     key = key.Replace(" ", "").ToLower();
     return(NameEn.Replace(" ", "").ToLower().Contains(key) || NameKr.Replace(" ", "").ToLower().Contains(key));
 }