C# 9 - Positional or Nominal Creation

added by DotNetKicks
4/21/2020 11:19:16 AM

498 Views

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. Positional Creation Positional creation is the traditional coding style we use since...


0 comments