Posts

Showing posts from December, 2024

What's New in .NET 9 and C# 13

Introduction .NET 9 and C# 13 have been released some days ago , so it's time for my own resume of the new features. There are tons of improvements, quite a few related to performance, so, beware, if you want the whole thing, you should read the official documentation , these are just my personal choices! New Escape Sequence In previous C# versions, you probably have used \u001b  or \x1b  escape characters. Now, to prevent occasional typos, C# 13 has introduced \e as a character literal escape sequence for the Escape character . This allows this code: //old style, \u001b var redText = "\u001b[31mThis is red\u001b[0m"; Console.WriteLine(redText); //new style, with \e var boldText = "\e[1mThis is bold\e[0m"; Console.WriteLine(boldText); This feature is specified in  https://github.com/dotnet/csharplang/issues/7400 . Overload Resolution Priority There is a new attribute, [OverloadResolutionPriority] , which can be used to control what overload is used preferabl...

MVP Again

Yesterday, December 1st, I was extremely excited to find out that I had been nominated as Microsoft Most Valuable Professional (MVP)  once again! For those of you who are not familiar with this, it is an award granted by Microsoft to some individuals who somehow are relevant to the development community. You can read more about the MVP programme  here . I had previously been an MVP from 2015 until mid 2019, but then I wasn't renewed. This time, my friend and Visual Studio extensions legend Erik Ejlskov Jensen  nominated me, and I was accepted! It is an honour and a privilege to be again part of this exclusive programme, amongst such brilliant people! Besides  Erik , I also need to thank Cristina Gonzalez Herrero , my friend and MVP Community Program Manager for Southern Europe, for reviewing my nomination, and accepting it. Muchas gracias, Cristina! ;-) Please let me know if you want to learn more or discuss this or any other subject. See you around!