你的位置: 码友网首页 / 资讯源列表 / C# 8 Ranges and Recursive Patterns

关于[C# 8 Ranges and Recursive Patterns]的摘要:

Key Takeaways C# 8 Adds Ranges and Recursive PatternsRanges easily define a sequence of data, replacing the Enumberable.Range()Recursive Patterns brings an F#-like construct to C#Recursive Patterns is an awesome feature, it giving you the flexibility to testing the data against a sequence of conditions and performing further computations based on the condition met.Ranges is very useful to generate sequences of numbers in the form of a collection or a list.

原文地址: https://www.infoq.com/articles/cs8-ranges-and-recursive-patterns

收录时间: 2018-07-26 浏览量: 3103 分类: C#开发

| 0 收藏 | 0