C# 9.0: Target-typed expression

added by DotNetKicks
9/17/2020 2:55:14 PM

566 Views

In this article, we'll take a look at the new Target-typed expressions. Target-typed means that the compiler will now infer the type from the context; thus, you won't have to specify it explicitly. Let's take a simple class.


0 comments