ListExtensions Class

Provides extension methods for the IListT type.


Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public static class ListExtensions
Object    ListExtensions


AsThreadSafeT Returns a LockingListT, which provides a thread-safe wrapper for the specified list. This only means that if the members are accessed through the returned LockingListT, then the inner state of the wrapped list remains always consistent and not that all of the multi-threading concerns can be ignored.
See the Remarks section of the LockingListT class for details and some examples.
InsertRangeT Inserts a collection into the target IListT.
RemoveRangeT Removes count amount of items from the specified collection at the specified index.
ReplaceRangeT Removes count amount of items from the target IListT at the specified index, and inserts the specified collection at the same position. The number of elements in collection can be different from the amount of removed items.

See Also