Because List
is immutable.
Remember when you asked when to use Array
VS List
that I said never to use Arrays
because among a bunch of other reasons, they were mutable: When to use Array and when to use List - #3 by BalmungSan
Because List
is immutable.
Remember when you asked when to use Array
VS List
that I said never to use Arrays
because among a bunch of other reasons, they were mutable: When to use Array and when to use List - #3 by BalmungSan