What Is New In .NET Core 3.0

Page 1

ASP.NET 3.0 FEATURES

3.0 supports C# 8

C# 8

RANGES AND INDICES

The .NET Core 3.0 supports C# 8, and the new features in C# 8.0 include Nullable reference types, Async streams, Ranges and indices, and Switch expressions.

“x..y”range expression Range type consists of two index value, one is for a start, and another one is for the end. It can be written as “x..y”range expression (C#). To produce a slice, one can then use the index with a range.

New Asynchronous Version

ASYNC STREAMS

A new asynchronous version of IEnumerable<T> is the IAsyncEnumerable<T>. If you want to consume the elements of IAsyncEnumerable<T>, then it lets you wait for each over it and use yield return that produces elements.

Object is properly disposed

DEFAULT EXECUTABLES

TIERED COMPILATION

It is a new way to make sure that your object is properly disposed of, as it keeps the object alive even when it is still in scope. It automatically disposed of the object once it becomes out of scope.

Just-In-Time (JIT) compiler It is on the .NET Core 3.0 as a by default that enables the runtime to more adaptively using the Just-In-Time (JIT) compiler to perform better.

www.mindtechconsultancy.com | sales@mindtechconsultancy.com | +1 804 490 7716 Source : https://www.mindtechconsultancy.com/asp-net-3-0-features/


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.