WikiFunctions.Range.IndexOf C# (CSharp) Method

IndexOf() public method

public IndexOf ( object obj ) : int
obj object
return int
        public int IndexOf(object obj)
        {
            for (int i = 0; i < Count; i++)
                if (obj.Equals(this[i]))
                    return i;
            return -1;
        }