Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Lowering in C# - What's Really Going on in Your Code

NDC Conferences via YouTube

Overview

Dive into the inner workings of C# code in this 45-minute conference talk from NDC Conferences. Explore the concept of lowering in C# and gain insights into how the Roslyn compiler transforms your code. Uncover the hidden mechanisms behind familiar constructs like foreach loops, lambda expressions, and yield return statements. Learn to identify common performance pitfalls in .NET and develop a deeper understanding of your code's actual behavior. Examine topics such as linked queries, variables, and closures, while utilizing tools like SharpLab to visualize the lowering process. Enhance your C# programming skills by understanding the compiler's perspective and optimizing your code for better performance.

Syllabus

Intro
What is lowering
Linked queries
Variables
Performance
Understanding how things work
For each loop
lambdas
closing over
yield
helper
numerator
movenext
SharpLab

Taught by

NDC Conferences

Reviews

Start your review of Lowering in C# - What's Really Going on in Your Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.