6.1 Summary
List<T>is called a (generic) list (of type T) and is more flexible than arrays, for example because you can dynamically adjust the length.- Type casting and
is/asare two tools to work with the correct class type.
List<T> is called a (generic) list (of type T) and is more flexible than arrays, for example because you can dynamically adjust the length. is/as are two tools to work with the correct class type.