C# 12 中的新功能 - 带练习的实用指南
What'S New In C# 12 - A Practical Guide With Exercises
- 1 - What are Primary Constructors
- 2 - Primary Constructors Before and after
- 3 - Uses for dependency injection
- 4 - Constructors and base class initialization
- 5 - Applying Primary Constructors in a project
- 6 - Solution to Primary Constructors exercise
- 8 - Motivation of the feature
- 9 - Using Collection Expressions
- 10 - The Spread element
- 11 - Collection Builder
- 12 - Applying Collection Expressions in a project
- 13 - Solution to the project implementation
- 15 - Lambda optional parameters
- 16 - Array parameters for lambdas
- 17 - Practice Time
- 18 - Problem resolution
- 20 - Alias any type feature
- 21 - Practice Time
- 22 - Problem Resolution