WeAreDevelopers LIVE Oct 16, 2024

Tips, tricks and quirks in .NET

Paweł Łukaszuk

Did you know blindly following IDE refactoring suggestions can make your .NET code five times slower? Look beneath the syntax to uncover C#'s most surprising performance quirks.

Pause
Mute Enter Fullscreen
#1 about 5 min

Data types and list implementation in .NET

How the default generic list in .NET is essentially a resizable array with a small default size.

#2 about 4 min

Performance differences between for and foreach loops

Analyzing why for loops historically outperform foreach loops and how .NET 7 optimizes this gap.

#3 about 5 min

Performance comparison of Count and Where in LINQ

Uncovering why filtering collections using Count with a predicate is slower than using Where followed by Count.

#4 about 5 min

StringBuilder versus string concatenation operator performance

Comparing string joining methods to show when standard operator concatenation outperforms StringBuilder operations.

#5 about 3 min

Comparing String.Empty to empty string literals

Examining intermediate code to reveal that String.Empty and empty string literals perform identically.

#6 about 5 min

Operator overloading and null checking vulnerabilities in C#

The risks of relying on legacy equality operators for null checking and how to properly validate objects.

#7 about 4 min

Bypassing try-catch exception handling using Environment.FailFast

Using the Environment.FailFast method to instantly kill an application without triggering standard exception handling.

#8 about 5 min

Understanding banker's rounding behavior in Math.Round

Exploring how the default Math.Round function balances distribution by rounding halves to the nearest even number.

Matching moments

1:55 min

Introduction to systems programming and performance in .NET

Szymon Kulec Szymon Kulec · WWC Europe 2026

2:50 min

Dispelling common optimization and runtime performance misconceptions

Bjarne Stroustrup · WWC 2022

1:04 min

Evaluating the true impact of bad JavaScript features

Peter Kröner Peter Kröner · WWC 2025

2:10 min

Analyzing logic and performance metrics via developer profiling tools

Paul Graham Paul Graham · LIVE

3:52 min

Adopting new C# features and tracking updates

Louëlla Creemers Louëlla Creemers · WWC 2023

2:35 min

Overview of modern C# feature selections

Louëlla Creemers Louëlla Creemers · WWC 2023

Upcoming sessions on this topic

Open session

World Congress 2026 North America

How to generate business value through performance optimizations

Nikolai Sidiropulo

Software Engineer at Meta

Nikolai Sidiropulo
Open session

World Congress 2026 North America

public void saveMoney(AI): The Developer's Guide to Unit Economics

Hrushikesh Pokala

Senior Software Engineer Lead at Equifax

Hrushikesh Pokala
Open session

World Congress 2026 North America

When Humans Stop Writing Code: Rethinking Languages, Compilers, and Responsibility

Simon Auer

Organizer of flutter vienna meetup and CEO of marqably

Simon Auer
Open session

World Congress 2026 North America

There's no dark factory without better software verifiers

Dexter Horthy

Co-Founder, HumanLayer

Dexter Horthy
Open session

World Congress 2026 North America

Designing APIs That Survive AI Agents at Scale

Phani Pendurthi

Mastercard, Principal Software Engineer

Phani Pendurthi
Open session

World Congress 2026 North America

Fast by Design: A Masterclass in High-Performance Web Engineering

Aaron Grogg

Senior web developer, committed to improving the user experience by improving web performance

Aaron Grogg