Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

C# C# Collections Lists Lists

Carel Du Plessis
PLUS
Carel Du Plessis
Courses Plus Student 16,356 Points

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

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,703 Points

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,