Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Benjamin Abt
June 02, 2022
Programming
0
240
EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET
https://github.com/BenjaminAbt/SustainableCode
Benjamin Abt
June 02, 2022
Tweet
Share
More Decks by Benjamin Abt
See All by Benjamin Abt
.NET - ToUpper vs. ToLower
abt
0
190
SustainableCode: Improve performance and reduce allocations with object pooling in .NET
abt
0
1.3k
Azure Data Centers and Regions
abt
0
910
Azure Static Web Apps
abt
0
1.1k
DateTime vs. DateTimeOffset in .NET
abt
1
1.3k
What's new in Visual Studio 2022
abt
0
490
Other Decks in Programming
See All in Programming
AgentCoreとHuman in the Loop
har1101
5
240
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.4k
CSC307 Lecture 03
javiergs
PRO
1
490
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
170
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
Package Management Learnings from Homebrew
mikemcquaid
0
230
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
730
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
CSC307 Lecture 04
javiergs
PRO
0
660
AI巻き込み型コードレビューのススメ
nealle
2
970
AI & Enginnering
codelynx
0
120
Featured
See All Featured
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
ラッコキーワード サービス紹介資料
rakko
1
2.3M
The Language of Interfaces
destraynor
162
26k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
GraphQLとの向き合い方2022年版
quramy
50
14k
A Soul's Torment
seathinner
5
2.3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
400
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Transcript
EFFICIENT CREATION OF AN EMPTY COLLECTION IN
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?
https://github.com/BenjaminAbt/SustainableCode