Skip to content

format

typescript
List.RemoveAt(index)

class: List

description

Removes the element at the specified index from the list.

parameter

param_nametypedescription
indexnumberThe index of the element to remove.

reture

typedescription
void

code example

typescript
let list = new List<Number>(Number);
list.AddRange([100, 200, 300]);
// Remove the element at index 1
list.RemoveAt(1);