Get 20% off all career paths from fullstack to AI
Build AI Apps with Azure, Copilot, and Generative AI — Microsoft Certified
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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