在 C# 中开始使用 LINQ
上次更新时间:2024-11-04
课程售价: 2.9 元
联系右侧微信客服充值或购买课程
课程内容
1 - Introduction
2 - LINQ vs. Loops
3 - Most Common LINQ Methods
- 1 -Transform a Collection With Select
- 2 -Transform a Collection Using the Position of Elements
- 3 -Query Collections with Any and All
- 4 -Group Elements of a Collection
- 5 -Group Elements and Transform Every Group
- 6 -Group Elements by More Than One Property
- 7 -Use Anonymous Objects With GroupBy
- 8 -Order Elements of a Collection
- 9 -Choose One Element with First and FirstOrDefault
- 10 -Choose One Element with Single and SingleOrDefault
- 11 -Choose and Leave Out Elements with Take and Skip
- 12 -Exercise Write a Paginate Method
- 13 -Exercise Refactor From Loops to LINQ
- 14 -Query Collections of Numbers With Sum, Min, and Max
- 15 -Flatten a Collection of Collections With SelectMany
- 16 -Find Unique Elements With Distinct
- 17 -Perform Set Operations With Intersect, Union, and Except
- 18 -Exercise Use LINQ Methods
- 19 -Wrap-up!
4 - Common LINQ Mistakes
5 - Refactoring With LINQ
6 - New LINQ Features
7 - Conclusion
课程内容
7个章节 , 45个讲座
1 - Introduction
2 - LINQ vs. Loops
3 - Most Common LINQ Methods
- 1 -Transform a Collection With Select
- 2 -Transform a Collection Using the Position of Elements
- 3 -Query Collections with Any and All
- 4 -Group Elements of a Collection
- 5 -Group Elements and Transform Every Group
- 6 -Group Elements by More Than One Property
- 7 -Use Anonymous Objects With GroupBy
- 8 -Order Elements of a Collection
- 9 -Choose One Element with First and FirstOrDefault
- 10 -Choose One Element with Single and SingleOrDefault
- 11 -Choose and Leave Out Elements with Take and Skip
- 12 -Exercise Write a Paginate Method
- 13 -Exercise Refactor From Loops to LINQ
- 14 -Query Collections of Numbers With Sum, Min, and Max
- 15 -Flatten a Collection of Collections With SelectMany
- 16 -Find Unique Elements With Distinct
- 17 -Perform Set Operations With Intersect, Union, and Except
- 18 -Exercise Use LINQ Methods
- 19 -Wrap-up!