ICYMI C# 9 New Features: Reducing Code with Target-typed New Expressions

added by DotNetKicks
6/28/2021 6:19:18 AM

454 Views

This is part of a series of articles on new features introduced in C# 9. C# 9 introduced some enhancements to reduce the amount of code you need when creating new instances of objects.These target-typed new expressions "Do not require type specification for constructors when the type is known."


0 comments