List.Remove(T) Method
If type generic interface, the equality comparer is the Equals method of that interface; otherwise, the default equality comparer is Object.Equals.
T
implements the IEquatableThis method performs a linear search; therefore, this method is an O(n) operation, where n is Count.
No comments :
Post a Comment