
What's coming next in C# - Fred Silberberg - NDC Oslo 2026
Keywords
Summary
165 words
Critical Evaluation
Value of the Information & Strength of the Argument
The talk provides substantial value by showing concrete applications of advanced language features within a real, complex codebase (the Roslyn compiler). The argumentation is strong, based on practical experience and direct involvement in the language design process. Silberberg convincingly explains the benefits of closed classes for exhaustive switching and unions for representing disjoint states, addressing potential concerns like boxing and property forwarding. He also demonstrates how to make unions work with existing code without breaking changes. The technical depth is high, making it valuable for experienced C# developers and compiler enthusiasts.
Scientific Rigor, Source Quality, Title Accuracy
The talk is scientifically rigorous in the sense that it is based on actual code from the Roslyn compiler and the speaker’s direct contributions. No external sources are cited, but the content is grounded in the language design process and practical implementation. The title accurately represents the content, which is a forward-looking overview of C# features. Given the source (an official NDC conference talk by a Microsoft engineer), reliability is high. No viewer comments were provided for analysis, so public reception could not be assessed.
191 words
Title / Content Match
The title accurately reflects the content, presenting upcoming C# 15 features including unions, closed classes, and extension indexers.
Quality & Reliability
8/10
Expert talk by a member of the C# compiler and language design team, based on real code from the Roslyn compiler. The content is demonstrative and technical, but not peer-reviewed. Credibility is high due to the speaker's role and direct involvement in the features discussed.
Key Moments
Markers derived by PSI from the transcript: the creator did not define chapters.
- Introduction: Fred Silberberg introduces himself and the talk's agenda, covering labeled break/continue, extension indexers, collection expression arguments, and unions.
- Demonstration of closed classes using the Roslyn compiler's bound node types, showing how the compiler enforces exhaustive pattern matching.
- Introduction to union types: the core concept, the union attribute, and the default boxing implementation.
- Advanced example: implementing a non-boxing union (OneOrMany) to avoid performance penalties, showing how to create custom unions.
- Conclusion and reminders about polyfill libraries for using C# 15 features on earlier .NET versions.
Cited Sources
- NDC Conferences official site — Conference organizing body; the talk was recorded at NDC Oslo.
- NDC Oslo official site — Specific conference event where the talk was presented.
Contribution & Novelties
The talk provides a unique, insider perspective on upcoming C# 15 features, specifically unions and closed classes, by demonstrating their use in the actual Roslyn compiler codebase. It goes beyond simple examples and shows real-world application, addressing performance considerations and integration with existing code. This adds practical value for developers planning to adopt these features.
Pour aller plus loin :
- C# documentation on Microsoft Learn — Official C# language documentation, relevant for understanding the language context.
- Discriminated Union (Wikipedia) — General concept behind union types, useful for background.
- Roslyn compiler repository on GitHub — The actual compiler codebase used in the talk, where the features are being implemented.
108 words
Radar Profile
The radar likely shows high scores in technical level and information quality, but slightly lower in quantity and reliability due to the talk's focus on a niche area and lack of external citations.