Sam KEEPS saying everything is a list, aren't those arrays?

I thought Lists use <> and Arrays use []. So far everything we have done here uses [] so doesn’t that make them arrays? Why does Sam keep saying lists constantly. Unless they ARE lists? in which case why don’t we use <> and what makes them lists over arrays?

1 Like

This is what we call a verbal typo. :slight_smile:
A List<T> myList is a List
A [T] myArray is an array

2 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms