Reading note for Features of C# 8.0

Photo ref: https://thecodebuzz.com/default-implementations-interfaces-csharp-8-0/

Since Microsoft has been launched C#8.0 on September 2019. Net Core 3 go with Visual Studio 2019 (Windows Ver. 16.3 / Mac Ver. 8.3 or higher) enable us enjoy the new syntax goodies of those features inside our application.

Main features:

Turn-up setting support for C#8.0

Open your project .csproj file and added the below tag: LangVersion

<PropertyGroup>    <TargetFramework>netcoreapp3.1</TargetFramework>       
<LangVersion>latest</LangVersion>
</PropertyGroup>

Summary

We are not going to go through detail of each features but we would like to note down when will we use those features😊, if you got curious how to adapt its into your application, please see official site for more examples.

Closing

So far I have not used all of those features in my application yet. But with the glance over the main features of C# 8.0 that really excited me. Not only the syntax sugar that language provide to us, some of syntax indeed offering us more productivity code style and made our code base more readable and clean😁. If you got the chance, I suggested you to give it a try and enjoy the powerful of .Net Core that brought to us.

Reference

Coding for fun

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why we build bestshow.io

Productivity Tips for C++ Programmers

Metauce 2.0 Introduction-Planet Mining

Cookage — CPS and Validation Process

Optimizing Crafty Lands Engine

5 patterns to make your microservice fault-tolerant

7 SQL Tips I wish I knew Earlier

Flutter App Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
LAI TOCA

LAI TOCA

Coding for fun

More from Medium

Upload Files in .NET 5 on external domain

Building First Blazor WebAssembly Application (part — 1 )

Use ASP.NET Core hosted services to run a background task

Cake v2.2.0 released