Nez.Portable/Utils/Collections/FastList.cs
/// <summary>
/// checks to see if item is in the FastList
/// </summary>
/// <param name="item">Item.</param>
checks to see if item is in the FastList
checks to see if item is in the FastList
public bool contains(T item)
        {
            var comp = EqualityComparer<T>.Default;
            for (var i = 0; i < length; ++i)
            {
                if (comp.Equals(buffer[i], item))
                    return true;
            }
            return false;
        }
public bool contains ( T item ) { var comp = EqualityComparer < T > . Default ; for ( var i = 0 ; i < length ; ++ i ) { if ( comp . Equals ( buffer [ i ] , item ) ) return true ; } return false ; }
checks to see if item is in the FastList
checks to see if item is in the FastList
item
T
None