System.Collections.Specialized.FixedStringLookup.Contains C# (CSharp) Method

Contains() static private method

static private Contains ( string lookupTable, string value, bool ignoreCase ) : bool
lookupTable string
value string
ignoreCase bool
return bool
        internal static bool Contains(string[][] lookupTable, string value, bool ignoreCase) {
            int length = value.Length;
            if (length <= 0 || length - 1 >= lookupTable.Length) {
                return false;
            }

            string[] subArray = lookupTable[length - 1];
            if (subArray == null) {
                return false;
            }
            return Contains(subArray, value, ignoreCase);            
        }