Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Linq Count() vs Indexer by KC Fiddle
Bad: Using Linq.Count():
a
b
c
for: 0
a
b
c
for: 1
a
b
c
for: 2
a
b
c

Good: Using internal Length indexer:
for: 0
for: 1
for: 2
Last Run: 6:13:45 am
Compile: 0.141s
Execute: 0s
Memory: 8kb
CPU: 0.031s