public bool TryAdd(
T item
)
Public Function TryAdd (
item As T
) As Boolean
public:
bool TryAdd(
T item
)
member TryAdd :
item : 'T -> bool
This method is functionally the same as the Add method. It is added to prevent mistakenly calling the EnumerableExtensions.TryAdd extension method, which would end up in a somewhat worse performance.