bigloo.foreign.strcicmp C# (CSharp) Method

strcicmp() public static method

public static strcicmp ( byte s1, byte s2 ) : bool
s1 byte
s2 byte
return bool
        public static bool strcicmp( byte[] s1, byte[] s2 )
        {
            int n1= s1.Length;
            int n2= s2.Length;

            if (n1 != n2)
               return false;
            for ( int i= 0 ; i < n1 ; ++i )
               if (toupper( s1[i] ) != toupper( s2[i] ))
              return false;
            return true;
        }
foreign