Visual Studio

C# Special Edition

Ranting about my favorite language

David Pine

7 minute read

Welcome to the 17th day of the C# Advent Calendar . I’d like to take a moment to thank my fellow bloggers who are sharing their passion of C# with everyone following the C# Advent Calendar. Please, share this and their posts - help us all make C# even more widely adopted than it is today. In the Beginning I’m honored to blog about my favorite programming language, C#. There is an often forgotten truth about the history of C#, one truth that I like talking about.

xUnit Roslyn Analyzers

Putting your code under the scope

David Pine

5 minute read

Intro At my day job, I wear many hats. I’m currently wearing the “upgrade our team’s tooling” hat. I counted 99 *.xproj and project.json based projects spanning four repositories that need to be updated to the revitalized *.csproj project format. With this the team can upgrade to the latest version of Visual Studio (finally upgrading to 2017 from 2015) and start taking advantage of the following: Supported tooling, no longer on preview tooling bits Allows us to explore C# 7 (and peruse C# 7.

Perusing C# 7.1

The language features you've been waiting for

David Pine

6 minute read

Earlier this year in March – Visual Studio 2017 was released. With this the world was given C# 7, checkout my post on Exploring C# 7. In this post we will peruse C# 7.1, the first incremental release while C# 8 is being fleshed out. Async Main Since the release of C# 5, developers have either embraced the async and await keywords or fumbled along the way feebly attempting to comprehend them.

Exploring C# 7

Expressiveness Redefined & #notasugly

David Pine

11 minute read

Intro Since we have all been actively celebrating the 20th anniversary of Visual Studio, it felt appropriate to post about C# 7! In this post we will explore the features that make C# 7 so promising. I’ve put together a demonstration C# 7 project, that is available here . This post contains examples and details on five of the nine new C# 7 features. Pattern matching out variables Tuples Local functions throw expressions These are the remaining features, that I do not cover in this post.