Upgrade to Pro — share decks privately, control downloads, hide ads and more …

EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET

Benjamin Abt

June 02, 2022

Transcript

3 slides
  1. There are several ways to create a list: - Using

    a list: List<string>() - By creating an array new string[]() - With the helper Enumerable.Empty<string>() But what is the most efficient way?

More Decks by Benjamin Abt

Other Decks in Programming