Summary
Removes the item at the specified `index` by swapping the last item in this list into its place.
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void RemoveAt(int index)
This method has
O(1) complexity.
This does not maintain the order of items, but is more efficient than
System.Collections.Generic.List`1.RemoveAt(System.Int32)
because it avoids the need to move every item after the target down one place.
Attributes
| Type |
Description |
| MethodImplAttribute |
|
Parameters
| Name |
Type |
Description |
| index |
int |
|
Return Value