EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET

EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET

Benjamin Abt

June 02, 2022

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

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