public static operator+(left as List<T>, right as List<T>) as List<T>
Concatenates two lists into a new list.
import klyn.collections data = [10, 20] + [30, 40] print(data) # [10, 20, 30, 40]
| Parameter | Description |
|---|---|
left | Left list. |
right | Right list. |
A new list containing both operands in order.