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

How Expo Is Fooling Everyone

What is OSPF and how to Configure OSPF using Packet Tracer

Hadoop Dynamic Storage with LVM and Python Automation Script.

My daughter was a creative genius, and then we bought her an iPhone Stephanie Gruner Buckley…

Compilers and Interpreters

You should be able to solve this

x-7 = 19+x

How Hackathons Can Drive Velocity and Disrupt Your Product Roadmap

Me + Microservices = ❤️

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

How to parse int and double value in Unity C#

C#/VB.NET: Insert Superscripts and Subscripts in Word

Action Result

Azure Blob Trigger Azure Functions using .NET 5