Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Mads Torgersen
Welcome to C# 11
November 8th, 2022 I am excited to announce that C# 11 is out! As always, C# opens some entirely new fronts, even while advancing several themes that have been in motion over past releases. There are many features and many details, which are beautifully covered under What’s new in C# 11 on our docs pages. What follows here is an appetizer of some of the highlights – small and big.
C#'s Functional Journey
Transcript Torgersen: I'm Mads Torgersen. I am the current lead designer of C#. I've been that for a good half decade now, and worked on the language for about 15 years. It's just a bit older than that, about two decades old. During that, it's gone through a phenomenal journey of transformation. Started out as a very classic, very turn of the century mainstream object-oriented language, and has evolved a lot.
C# Today & Tomorrow
Love the pattern matching bits, the not pattern has been long overdue. Unfortunately, that's where it ends for me. Don't like the top level statements...makes it seem like I'm programming in a scripting language and makes me want to run as fast as I can in the opposite direction. Now, records... It will be another feature that is pretty useless and I'll explain why. When I'm writing an immutable type, my constructor validates the invarients based on business requirement.
Welcome to C# 9.0
May 20th, 2020 Note: This post is out of date. Now that C# 9.0 has been released, an updated version can be found here. C# 9.0 is taking shape, and I’d like to share our thinking on some of the major features we’re adding to this next version of the language. With every new version of C# we strive for greater clarity and simplicity in common coding scenarios, and C# 9.0 is no exception. One particular focus this time is supporting terse and immutable representation of data shapes.
Keynote
Play Keynote 01:14:08 Description Conference keynote Day: 1 Code: K101 Embed Download
Do more with patterns in C# 8.0
Visual Studio 2019 Preview 2 is out! And with it, a couple more C# 8.0 features are ready for you to try. It’s mostly about pattern matching, though I’ll touch on a few other news and changes at the end. When C# 7.0 introduced pattern matching we said that we expected to add more patterns in more places iin the future. That time has come! We’re adding what we call recursive patterns, as well as a more compact expression form of switch statements called (you guessed it!) switch expressions.
Take C# 8.0 for a spin
Take C# 8.0 for a spin Yesterday we announced the first preview of both Visual Studio 2019 (Making every developer more productive with Visual Studio 2019) and .NET Core 3.0 (Announcing .NET Core 3 Preview 1 and Open Sourcing Windows Desktop Frameworks). One of the exciting aspects of that is that you get to play with some of the features coming in C# 8.0! Here I am going to take you on a little guided tour through three new C# features you can try out in the preview.
What's New in C# 8.0
Several new language features are coming to C# in the next release, included in Visual Studio 2019. Mads Torgersen will give us a quick look at how to avoid null reference exceptions with nullable reference types, how to consume and produce asynchronous streams, and much more. Twitter: @MadsTorgersen Learn more about C# 8.0: https://aka.ms/csharp8
Building C# 8.0
The next major version of C# is C# 8.0. It’s been in the works for quite some time, even as we built and shipped the minor releases C# 7.1, 7.2 and 7.3, and I’m quite excited about the new capabilities it will bring. The current plan is that C# 8.0 will ship at the same time as .NET Core 3.0. However, the features will start to come alive with the previews of Visual Studio 2019 that we are working on.
How Microsoft rewrote its C# compiler in C# and made it open source
Roslyn is the codename-that-stuck for the open-source compiler for C# and Visual Basic.NET. Here’s how it started in the deepest darkness of last decade’s corporate Microsoft, and became an open source, cross-platform, public language engine for all things C# (and VB, which I’ll take as a given for the rest of this piece). The first conversations about what would become Roslyn were already ongoing when I joined Microsoft in 2005 — just before .NET 2.0 would ship.
What's Coming to C#?
Over the last year we shipped point releases of C#, full of small but useful language features. Mads will recap some some of these, before turning to the big things we have in store for the future: Nu
Keynote
Get the latest scoop from the people who build .NET! See what's new with .NET Core, ASP.NET Core, Xamarin, C#, Azure, AI/ML and where we're taking .NET into the future! Create a Free Account (Azure):
A (Belated) Welcome to C# 7.3
Better late than never! Some of you may have noticed that C# 7.3 already shipped, back in Visual Studio 2017 update 15.7. Some of you may even be using the features already. C# 7.3 is the newest point release in the 7.0 family and it continues themes of performance-focused safe code, as well as bringing some small "quality of life" improvements in both new and old features. For performance, we have a few features that improve variables, pointers, and stackalloc.
Past, Present, and Future of .NET
Beth Massi, Mads Torgersen, Scott Hunter, and Richard Campbell sit down at the Channel 9 Live desk to discuss the future of .NET.
Welcome to C# 7.2 and Span
C# 7.2 is the latest point release of C#, and adds a number of small but useful features. All the features are described in wonderful detail in the docs. Start with the overview, What’s new in C# 7.2, which gives you an excellent introduction to the new set of capabilities. It is worth celebrating that a significant portion of the docs are community contributed, not least the material on the new access modifier.
Introducing Nullable Reference Types in C#
Today we released a prototype of a C# feature called “nullable reference types“, which is intended to help you find and fix most of your null-related bugs before they blow up at runtime. We would love for you to install the prototype and try it out on your code! (Or maybe a copy of it! ?) Your feedback is going to help us get the feature exactly right before we officially release it.
Welcome to C# 7.1
With C# we have always tended towards major releases: bundle a lot of features up, and release less frequently. We even went so far as routinely omitting the traditional ".0" when we talked about C# 6.0! In the C# 7.0 "wave" we are trying something new. Tools such as Visual Studio upgrade on a frequent cadence, and there’s no longer a technical reason why C# couldn’t also be updated more frequently.
November | 2017 | .NET Blog
Today, we are releasing the .NET Core November Update. This includes .NET Core 1.0.8, 1.1.5 and 2.0.1 and .NET Core SDK 1.1.5 and 2.0.3. Details regarding the security issues addressed by this release can be seen in the Security Advisory announcement. Security CVE-2017-8585 — Malformed Certificate can cause Denial of Service Microsoft is releasing this… Read more
Introducing Nullable Reference Types in C#
November 15th, 2017 Today we released a prototype of a C# feature called “nullable reference types“, which is intended to help you find and fix most of your null-related bugs before they blow up at runtime. We would love for you to install the prototype and try it out on your code! (Or maybe a copy of it! đ) Your feedback is going to help us get the feature exactly right before we officially release it.
What's new in C#
Learn about the new features available in C# 7.1 and 7.2, including async Main, default literals, ref extension methods, in parameters and more. Also get a glimpse of the future with nullable referenc
Keynote | .NET Conf 2017 | Channel 9
Live Keynote from DevIntersections Europe in Stockholm, Sweden!Join us as we kick off the conference and introduce you to all the new features in .NET Core 2.0, our cross-platform, open source .NET. .NET Core 2.0 implements .NET Standard 2.0 which delivers on the promise of .NET everywhere and significantly expands the API surface area so that sharing libraries across all .NET workloads is much easier.
c# | .NET Blog
Update (4/2017): See New Features in C# 7.0, the update to this post. What follows is a description of all the planned language features in C# 7.0. With the release of Visual Studio “15” Preview 4, most of these features are coming alive. Now is a great time to take them for a spin and tell… Read more
New Features in C# 7.0
Here is a description of all the new language features in C# 7.0, which came out last Tuesday as part of the Visual Studio 2017 release. C# 7.0 adds a number of new features and brings a focus on data consumption, code simplification and performance. Perhaps the biggest features are tuples, which make it easy to have multiple results, and pattern matching which simplifies code that is conditional on the shape of data. But there are many other features big and small.
Exploring C# Productivity in Visual Studio 2017
Visual Studio 2017 aims to make C# development more pleasant and productive than ever. Kasey and Mads take you on a tour of new refactorings, improved navigation, and code style enforcement and config
The .NET Language Strategy
I am constantly aware of the enormous impact our language investments have on so many people’s daily lives. Our languages are a huge strength of the .NET platform, and a primary factor in people choosing to bet on it – and stay on it. I’ve been here on the .NET languages team at Microsoft for more than a decade, and I’ve always seen us have developers’ interests first and foremost in our minds as we moved the languages forward.
Why You Should Take Another Look at C#
Because you can and because you want to! You can because C# runs great on Mac, Linux, Android, and iOS (oh, and Windows); is targeted by your favorite editor; rests on a rock solid, time-tested industrial grade platform; and is open source. You want to because C# is an industry leader in language innovation, is your best option for native cross-platform mobile apps, and is toolable beyond compare.
New Features in C# 7.0 | Connect(); // 2016 | Channel 9
A quick overview of some of the new language features coming to C# 7.0.
What’s New in C# 7.0
If you are curious about the design process that led to this feature set, you can find a lot of design notes and other discussion at the Roslyn GitHub site. Have fun with C# 7.0, and happy hacking! Currently in C#, using out parameters isn’t as fluid as we’d like. Before you can call a method with out parameters you first have to declare variables to pass to it.
The Future of C#
Since Roslyn shipped last year we’ve been hard at work building on it to improve tooling, add new language features and enhance Roslyn itself. In this session Dustin and Mads will play with fire, showing early versions of new C# 7 language features such as tuples and pattern matching, new editor features like code style and source generators, and much more. Day: 2 Code: B889 Room: Marriott Salon 9
What's New In C# 6.0
Great update, great presentation, very succinct!The null conditional operator is _exactly_ what was needed, that was a major pain point in the language and will be a great productivity boost.Using lambdas for single line methods or poperties, does not seem too useful to me, as I tend to write them in one line as well anyway by just moving the curly braces up. 2 curly braces vs.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Mads
Contact Mads, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack