"Did you know...?" infographics - #6 List capacity and internal array

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • .NET Runtime

    .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

  • *) Regarding doubling: this is currently hardcoded. This came up here a few weeks ago, and I started writing a proposal then but never submitted it. Well, now I did.

  • CoreCLR

    Discontinued CoreCLR is the runtime for .NET Core. It includes the garbage collector, JIT compiler, primitive data types and low-level classes.

  • Nitpicking terminology a bit - the capacity for List (and all of the collections in System.Collections.Generic IIRC) isn't a hint or encouragement. If you specify a capacity in the constructor the internal array will be initialized to that size. Likewise if you set the Capacity property the internal array will be resized to the value you specify.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts