News of C# 9, this time addressing the use of Init-only Properties. Example makes use of the constructor that receives 2 parameters in State in order to proceed with the completion of the properties.
Dez 22
New expressions with C# 9
In this third article in the C# 9 novelties series, I'll discuss the use of new expressions, a new feature that allows you to simplify the writing of statements by instantiating objects.
Use of Logical Patterns with C# 9.0, new functionality that in conjunction with the switch clause enables the use of logical operators such as and, or and not (and which can also be used precisely with relational operators such as <, <=, > and >).
Subscrever
Seja o primeiro a ler o que há de novo!