Exemplo n.º 1
0
 public static int SDBMLower(string s)
 {
     if (string.IsNullOrEmpty(s))
     {
         return(0);
     }
     return(TezHash.SDBM(s.ToLower()));
 }
Exemplo n.º 2
0
 public static int[] SDBMLower(IList <string> strings)
 {
     int[] array = new int[strings.Count];
     for (int i = 0; i < strings.Count; i++)
     {
         array[i] = TezHash.SDBMLower(strings[i]);
     }
     return(array);
 }