Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Collections Lists Lists

Internally, items inside of a List are stored in an array.

can someone example what this question referring to.

Internally, items inside of a List are stored in an array.

Answer to Choose From True or False

Correct answer True

1 Answer

Arrays require us to explicitly manage the size of the array. If we need more spots in memory than we originally provisioned, we have to create a new array that's larger and manually copy into it. Lists have a nicer interface that doesn't require the developer to code all of this logic, but under the hood they're still arrays and this work is being done for you.

When it comes to knowing the efficiency of your algorithms it's important to know that ultimately they're still arrays,