你的位置: 码友网首页 / 资讯源列表 / C# 9 – Positional or Nominal Creation

关于[C# 9 – Positional or Nominal Creation]的摘要:

C# allows writing code with positional or nominal code style. Using positional code style, constructors can be used. Object initializer belong to the nominal category. So far the nominal category was restricted because it required writable properties. This can change with C# 9.

原文地址: https://csharp.christiannagel.com/2020/04/21/c-9-positional-or-nominal-creation/

收录时间: 2020-04-22 浏览量: 1763 分类: C#开发

| 0 收藏 | 0